[Intel-gfx] [PATCH] drm/i915: Remove redundant return value and WARN_ON

Daniel Vetter daniel at ffwll.ch
Mon Nov 3 14:08:34 CET 2014


On Thu, Oct 30, 2014 at 03:41:56PM +0000, Dave Gordon wrote:
> 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 at intel.com>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list