Commit addfc66b authored by Akinobu Mita's avatar Akinobu Mita Committed by Ingo Molnar

x86: remove unnecessary tmp local variable

There is no reason to use obscurer name.
Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 07004b12
...@@ -1996,8 +1996,7 @@ static inline void init_IO_APIC_traps(void) ...@@ -1996,8 +1996,7 @@ static inline void init_IO_APIC_traps(void)
* 0x80, because int 0x80 is hm, kind of importantish. ;) * 0x80, because int 0x80 is hm, kind of importantish. ;)
*/ */
for (irq = 0; irq < NR_IRQS ; irq++) { for (irq = 0; irq < NR_IRQS ; irq++) {
int tmp = irq; if (IO_APIC_IRQ(irq) && !irq_vector[irq]) {
if (IO_APIC_IRQ(tmp) && !irq_vector[tmp]) {
/* /*
* Hmm.. We don't have an entry for this, * Hmm.. We don't have an entry for this,
* so default to an old-fashioned 8259 * so default to an old-fashioned 8259
......
...@@ -1527,8 +1527,7 @@ static inline void init_IO_APIC_traps(void) ...@@ -1527,8 +1527,7 @@ static inline void init_IO_APIC_traps(void)
* 0x80, because int 0x80 is hm, kind of importantish. ;) * 0x80, because int 0x80 is hm, kind of importantish. ;)
*/ */
for (irq = 0; irq < NR_IRQS ; irq++) { for (irq = 0; irq < NR_IRQS ; irq++) {
int tmp = irq; if (IO_APIC_IRQ(irq) && !irq_cfg[irq].vector) {
if (IO_APIC_IRQ(tmp) && !irq_cfg[tmp].vector) {
/* /*
* Hmm.. We don't have an entry for this, * Hmm.. We don't have an entry for this,
* so default to an old-fashioned 8259 * so default to an old-fashioned 8259
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment