drm/i915/perf: Drop redundant check for perf.initialised on reset
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Aug 2017 17:57:43 +0000 (18:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Aug 2017 20:43:11 +0000 (21:43 +0100)
commit28b6cb08206fe19585f57c3f5c683aff9b2e2fdf
tree2cb510a029d0f1aa97443ea1e39e6fe5d28f49ad
parent84a095e41398efdb245e99cb811bcc0bc24fa504
drm/i915/perf: Drop redundant check for perf.initialised on reset

As we cannot have an exclusive stream set if the perf has not been
initialized, we only need to check for that exclusive stream.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170810175743.25401-3-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_perf.c