From f98de6e6b31853ab2a4468ee797d7b806cbd8065 Mon Sep 17 00:00:00 2001 From: Matthew Auld Date: Tue, 5 Jan 2016 12:54:27 +0000 Subject: [PATCH] drm/i915: ctx is set twice --- drivers/gpu/drm/i915/i915_perf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c index a846ad9b0fbf48..735a7849c3892a 100644 --- a/drivers/gpu/drm/i915/i915_perf.c +++ b/drivers/gpu/drm/i915/i915_perf.c @@ -1348,7 +1348,6 @@ int i915_perf_open_ioctl_locked(struct drm_device *dev, goto err_alloc; } - stream->ctx = specific_ctx; list_add(&stream->link, &dev_priv->perf.streams); if (param->flags & I915_PERF_FLAG_FD_CLOEXEC)