drm/i915: Remove NULL dev_priv checks from irq_uninstall
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 Aug 2017 18:36:58 +0000 (21:36 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Sep 2017 14:13:58 +0000 (17:13 +0300)
commit9515d7b8eb0bff20f9a2fa973331674e8abe06c8
tree9bdb9b811d3066438ea95a058949b8c5a6db5b87
parentc30bb1fd384c459bf70d4780a3ad2dec7211ee9d
drm/i915: Remove NULL dev_priv checks from irq_uninstall

There should be no way to land in irq_uninstall without a
valid dev_priv. Let's kill off the remaining checks, which are
probably some kind of UMS leftovers. Not all the irq_uninstall
hooks even had them anymore.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170818183705.27850-10-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_irq.c