drm/i915: Remove impossible tests for dev->dev_private
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jul 2016 09:40:22 +0000 (10:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jul 2016 10:53:50 +0000 (11:53 +0100)
commitded8b07d4c2827811215d92be4c97426ce7f1999
treef2d706a194bfeda782c47079fc846af93352f89a
parentfb93942033dfe7b4b87bba516f9b551da0bac970
drm/i915: Remove impossible tests for dev->dev_private

If we have a drm_device, we have a drm_i915_private (since they are the
same).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467711623-2905-3-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_drv.c