projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e65ef88
)
irq: set_irq_chip() has redundant call to irq_to_desc()
author
Dean Nelson
<dcn@sgi.com>
Fri, 5 Sep 2008 14:10:40 +0000
(09:10 -0500)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:53:07 +0000
(16:53 +0200)
Extraneous call to irq_to_desc().
Signed-off-by: Dean Nelson <dcn@sgi.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/chip.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/irq/chip.c
b/kernel/irq/chip.c
index 4ef555c50db8da27f02106e1ca50e656ad47e6bb..570d1ea1db5daee44bff774b3e8cc8a37b717f1b 100644
(file)
--- a/
kernel/irq/chip.c
+++ b/
kernel/irq/chip.c
@@
-102,7
+102,6
@@
int set_irq_chip(unsigned int irq, struct irq_chip *chip)
if (!chip)
chip = &no_irq_chip;
- desc = irq_to_desc(irq);
spin_lock_irqsave(&desc->lock, flags);
irq_chip_set_defaults(chip);
desc->chip = chip;