drm/i915: Silence GCC warning for cmn_a_well
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 18:06:23 +0000 (19:06 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 16 Aug 2016 09:53:29 +0000 (10:53 +0100)
commitca99d8781fd16edf4c98536a9c18e59a17b06b6c
tree22ed6721ed5fdae76d87aacbd40e6522208639b7
parent1255501d8681775d564de45742c6e82b7782b7f5
drm/i915: Silence GCC warning for cmn_a_well

Just make the logic simple enough for even GCC to understand (and
foolproof against random changes):

drivers/gpu/drm/i915/intel_runtime_pm.c: warning: 'cmn_a_well' may be
used uninitialized in this function [-Wuninitialized]:  => 871:23

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1471284383-22324-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_runtime_pm.c