aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_fence.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
index f87261545f2c..301260e23e52 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
@@ -906,13 +906,10 @@ static void vmw_event_fence_action_seq_passed(struct vmw_fence_action *action)
906 container_of(action, struct vmw_event_fence_action, action); 906 container_of(action, struct vmw_event_fence_action, action);
907 struct drm_device *dev = eaction->dev; 907 struct drm_device *dev = eaction->dev;
908 struct drm_pending_event *event = eaction->event; 908 struct drm_pending_event *event = eaction->event;
909 struct drm_file *file_priv;
910
911 909
912 if (unlikely(event == NULL)) 910 if (unlikely(event == NULL))
913 return; 911 return;
914 912
915 file_priv = event->file_priv;
916 spin_lock_irq(&dev->event_lock); 913 spin_lock_irq(&dev->event_lock);
917 914
918 if (likely(eaction->tv_sec != NULL)) { 915 if (likely(eaction->tv_sec != NULL)) {