drm/i915: Remove redundant return value and WARN_ON
authorDave Gordon <david.s.gordon@intel.com>
Thu, 30 Oct 2014 15:41:56 +0000 (15:41 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 22:22:15 +0000 (23:22 +0100)
commitcd0707cb1dbdd96b0358e5b10eba89c3bbe5a690
tree5ccd72d7821d37e5479ab88149ff4dd070b47468
parent6402c330a62685c77c32d1bdfa882759c9f8e8a7
drm/i915: Remove redundant return value and WARN_ON

execlists_submit_context() always returns 0, which is redundant.
And its name is inaccurate, since it actually submits (up to)
TWO contextS. So we rename it, change it to "void", and remove
the WARN_ON() testing its return value.

Change-Id: Ie225b0eca7754c6093c8b8bd15550b251b6feb82
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c