drm/xen-front: Drop pointless static qualifier in fb_destroy()
authorYueHaibing <yuehaibing@huawei.com>
Sat, 26 Jan 2019 12:05:38 +0000 (12:05 +0000)
committerOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Mon, 4 Feb 2019 06:31:57 +0000 (08:31 +0200)
commit938010ab072221f9b396770bbe78001ee3b74302
tree5d7e9eebb8c2291ea8fb4a267eda654758d7e4e4
parentba420afab565bdc7b028ddd4f222260f2de7a1db
drm/xen-front: Drop pointless static qualifier in fb_destroy()

There is no need to have the 'struct drm_framebuffer *fb' variable
static since new value always be assigned before use it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1548504338-114487-1-git-send-email-yuehaibing@huawei.com
drivers/gpu/drm/xen/xen_drm_front_kms.c