drm/i915: fix unused var
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 17 Nov 2009 22:08:52 +0000 (14:08 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 6 Jan 2010 17:40:03 +0000 (09:40 -0800)
commit29bd0ae25f8cb96b63560c2cbccec77b425e1603
tree7250462430be180566eda372dd379f8312953882
parent69e302a998ddfc3bd99033052f6d6152a46e7d6e
drm/i915: fix unused var

drivers/gpu/drm/i915/i915_dma.c: In function 'i915_driver_load':
drivers/gpu/drm/i915/i915_dma.c:1114: warning: 'll_base' may be used uninitialized in this function

Partly this is because gcc isn't smart enough.  But `ll_base' does get used
uninitialised in the DRM_DEBUG() call.

Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Eric Anholt <eric@anholt.net>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c