drm/ast: Remove set but not used variable 'bo'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 8 Dec 2018 08:36:25 +0000 (08:36 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Dec 2018 10:26:41 +0000 (11:26 +0100)
commit32658d2c8073699473c28b67f14ad51403ccec5d
tree2452cd94dad2e91a6da42702fb85a465cca2c989
parent16bff572cc660f19e58c99941368dea050b36a05
drm/ast: Remove set but not used variable 'bo'

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

drivers/gpu/drm/ast/ast_fb.c: In function 'astfb_create':
drivers/gpu/drm/ast/ast_fb.c:194:17: warning:
 variable 'bo' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit 312fec1405dd ("drm: Initial KMS
driver for AST (ASpeed Technologies) 2000 series (v2)")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1544258185-50430-1-git-send-email-yuehaibing@huawei.com
drivers/gpu/drm/ast/ast_fb.c