drm/i915: Remove a couple pointless WARN_ONs
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 19 Apr 2016 15:46:09 +0000 (16:46 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 20 Apr 2016 08:59:17 +0000 (09:59 +0100)
commit791bee125b42aa0bba3e521f148cfaf38f72a4fd
tree8e689271eea2aa4e04b378a715da0fe5d087cc90
parent98735739cff5cddd28efeb01296f4fc70eaf6c89
drm/i915: Remove a couple pointless WARN_ONs

Just two WARN_ONs followed by pointer dereference I spotted by accident.

v2: Remove some more of the same.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1461080770-14693-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c