drm/sti: remove set but not used variable 'priv'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 10 Nov 2018 02:57:40 +0000 (02:57 +0000)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Tue, 13 Nov 2018 11:07:18 +0000 (12:07 +0100)
commit9ef60bd673d1cd5bab882e0997cadc223670a801
treed3e2182fd8ce0ef5a19bbb4f04f147b24c0b779e
parent66cae477c380d1a652399908de94ec680225bbdb
drm/sti: remove set but not used variable 'priv'

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

drivers/gpu/drm/sti/sti_crtc.c: In function 'sti_crtc_vblank_cb':
drivers/gpu/drm/sti/sti_crtc.c:255:22: warning:
 variable 'priv' set but not used [-Wunused-but-set-variable]

It never used since introduction in
  commit 9e1f05b28009 ("drm/sti: rename files and functions")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1541818660-37168-1-git-send-email-yuehaibing@huawei.com
drivers/gpu/drm/sti/sti_crtc.c