[PATCH] drm/i915: remove unused variable

Daniel Vetter daniel at ffwll.ch
Sun Aug 5 13:40:14 PDT 2012


On Sat, Jul 28, 2012 at 06:46:35PM +0545, Devendra Naga wrote:
> the following warning was produced,
> 
> drivers/gpu/drm/i915/i915_gem_context.c: In function ‘i915_switch_context’:
> drivers/gpu/drm/i915/i915_gem_context.c:454:6: warning: unused variable ‘ret’ [-Wunused-variable]
> 
> fix up by removing it
> 
> Signed-off-by: Devendra Naga <devendra.aaru at gmail.com>
Picked up for -fixes, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48


More information about the dri-devel mailing list