]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ac51c99346abcda9914ad9bc5ae85da3b3c3f9a
tree5ccd72d7821d37e5479ab88149ff4dd070b47468
parentc2101e79095a22f334782d72e849afba8c74c480
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