From: Damien Lespiau Date: Mon, 3 Mar 2014 17:31:45 +0000 (+0000) Subject: drm/i915: Don't declare unnecessary shadowing variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e3d51285348a6564356010465411c9a60d070a51;p=openwrt%2Fstaging%2Fblogic.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));