]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: i8259A: remove redundant irq_descinitialization
authorAhmed S. Darwish <darwish.07@gmail.com>
Sun, 17 Feb 2008 22:59:54 +0000 (00:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:34 +0000 (16:18 +0100)
commit7c6357da1185d286adaa4452d829ac9b27c4d12f
tree083ea8780740a262fb55616b05ec7055f17fb73f
parent3f85d63ea4ff922f6abdb509f4aaf6993b3273a3
x86: i8259A: remove redundant irq_descinitialization

Remove redundant irq_desc[NR_IRQS] element initialization in
init_ISA_irqs(). irq_desc[NR_IRQS] is already statically
initialized with the same values in kernel/irq/handle.c .

besides the clean-up value this also saves some space:

      text    data     bss     dec     hex filename
      1389     356      14    1759     6df i8259_32.o.before
      1325     356      14    1695     69f i8259_32.o.after

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/i8259_32.c