drm/vmwgfx: Remove set but not used variable 'file_priv'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 5 Oct 2018 11:36:58 +0000 (11:36 +0000)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Dec 2018 09:09:27 +0000 (10:09 +0100)
commite5bd6a3dddda58b0b5a246b35faadd844b0ff574
treea5f621d64eb4aebf8429ae520e54cceb1a354723
parentec9a5b611e2fde765372885220555a5b38e13c09
drm/vmwgfx: Remove set but not used variable 'file_priv'

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

drivers/gpu/drm/vmwgfx/vmwgfx_fence.c: In function 'vmw_event_fence_action_seq_passed':
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:909:19: warning:
 variable 'file_priv' set but not used [-Wunused-but-set-variable]
  struct drm_file *file_priv;

It not used any more since
commit fb740cf2492c ("drm: Create drm_send_event helpers")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c