From: Damien Lespiau Date: Mon, 3 Mar 2014 17:31:45 +0000 (+0000) Subject: drm/i915: Don't declare unnecessary shadowing variable X-Git-Tag: next-20140306~56^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e3d51285348a6564356010465411c9a60d070a51;p=karo-tx-linux.git drm/i915: Don't declare unnecessary shadowing variable 'i' is already defined in the function scope and used elsewhere. Let's use it instead. Signed-off-by: Damien Lespiau Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 43f30746c8dc..84d39a989e21 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -602,7 +602,6 @@ static int i915_interrupt_info(struct seq_file *m, void *data) intel_runtime_pm_get(dev_priv); if (INTEL_INFO(dev)->gen >= 8) { - int i; seq_printf(m, "Master Interrupt Control:\t%08x\n", I915_READ(GEN8_MASTER_IRQ));