Skip to contentSkip to conversation

drm/i915: remove unused leftover variable irq_received

PATCH Applied Jani Nikula 3 participants 3 messages Aug 11, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: remove unused leftover variable irq_received

It's been there since i8xx_irq_handler() was added in commit c2798b19bac2538393fc932bfbe59807a4734b3e

Author: Chris Wilson <[email protected]>
Date:   Sun Apr 22 21:13:57 2012 +0100

drm/i915: i8xx interrupt handler

---
 drivers/gpu/drm/i915/i915_irq.c |    2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +0 -2
index 3fbba2d..28d5747 100644
@@ -2399,7 +2399,6 @@ static irqreturn_t i8xx_irq_handler(int irq, void *arg)
 	u16 iir, new_iir;
 	u32 pipe_stats[2];
 	unsigned long irqflags;
-	int irq_received;
 	int pipe;
 	u16 flip_mask =
 		I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT |
@@ -2433,7 +2432,6 @@ static irqreturn_t i8xx_irq_handler(int irq, void *arg)
 					DRM_DEBUG_DRIVER("pipe %c underrun\n",
 							 pipe_name(pipe));
 				I915_WRITE(reg, pipe_stats[pipe]);
-				irq_received = 1;
 			}
 		}
 		spin_unlock_irqrestore(&dev_priv->irq_lock, irqflags);
Signature · 1 line
1.7.10.4
#2 lore raw
Quoted 10 lines · Chris Wilson
Quoted 8 lines · Jani Nikula

It's been there since i8xx_irq_handler() was added in commit c2798b19bac2538393fc932bfbe59807a4734b3e

Author: Chris Wilson <[email protected]>
Date:   Sun Apr 22 21:13:57 2012 +0100

drm/i915: i8xx interrupt handler

Queued for -next, thanks for the patch.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch