]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/omap: Remove set but not used variable 'plane'
authorzhengbin <zhengbin13@huawei.com>
Tue, 8 Oct 2019 07:15:46 +0000 (15:15 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Oct 2019 11:20:22 +0000 (14:20 +0300)
commit57d55bb5dc8690c8072f029796605498aeac0441
tree735f1d97b4e2e63ae871989d70ce759cc2fb615a
parent1f6c62ca8f8d7b2b4c9f9a13dc1be1be37555688
drm/omap: Remove set but not used variable 'plane'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/omapdrm/omap_fb.c: In function omap_framebuffer_update_scanout:
drivers/gpu/drm/omapdrm/omap_fb.c:130:16: warning: variable plane set but not used [-Wunused-but-set-variable]

It is not used since commit 2ecceeb53b19 ("drm/omap:
Move buffer pitch/offset to drm_framebuffer")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1570518949-47574-2-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/omapdrm/omap_fb.c