drm/cirrus: Remove set but not used variable 'bo'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 15 Nov 2018 12:10:36 +0000 (12:10 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Nov 2018 08:12:44 +0000 (09:12 +0100)
commita071a8ff1f5fd4aa6897c9260be548029b3acaff
tree02c9950da0527ab9c5d4b84b3771c6111bb89525
parent61e49394a31aee438e026e553a1422e13e0309d9
drm/cirrus: Remove set but not used variable 'bo'

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

drivers/gpu/drm/cirrus/cirrus_fbdev.c: In function 'cirrusfb_create':
drivers/gpu/drm/cirrus/cirrus_fbdev.c:172:20: warning:
 variable 'bo' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit
f9aa76a85248 ("drm/kms: driver for virtual cirrus under qemu")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1542283836-152176-1-git-send-email-yuehaibing@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/cirrus/cirrus_fbdev.c