summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vmwgfx_fence.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vmwgfx_fence.c b/vmwgfx_fence.c
index 9bedc42..cd37b62 100644
--- a/vmwgfx_fence.c
+++ b/vmwgfx_fence.c
@@ -925,12 +925,10 @@ static void vmw_event_fence_action_seq_passed(struct vmw_fence_action *action)
container_of(action, struct vmw_event_fence_action, action);
struct drm_device *dev = eaction->dev;
struct drm_pending_event *event = eaction->event;
- struct drm_file *file_priv;
if (unlikely(event == NULL))
return;
- file_priv = event->file_priv;
spin_lock(&dev->event_lock);
if (likely(eaction->tv_sec != NULL)) {