]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: Remove unused variable
authorMaxime Ripard <maxime@cerno.tech>
Fri, 19 Mar 2021 15:29:20 +0000 (16:29 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 24 Mar 2021 08:31:22 +0000 (09:31 +0100)
commit4a7007b3307a1396ba4566c1597dd27bace7e368
tree32fddc88fdecd318d23e57e2fa268844eea05b29
parentd3f6feb59785df955a5ffbe5ed93fa8bee5d85d3
drm/rockchip: Remove unused variable

Commit 89d1cee9fb31 ("drm/atomic: Pass the full state to planes atomic
disable and update") added the old_state variable instead of what used
to be a parameter, but it also removed the sole user of that variable in
the vop_plane_atomic_update function leading to an usused variable.
Remove it.

Fixes: 89d1cee9fb31 ("drm/atomic: Pass the full state to planes atomic disable and update")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210319152920.262035-1-maxime@cerno.tech
drivers/gpu/drm/rockchip/rockchip_drm_vop.c