Skip to contentSkip to conversation

Minor cleanups - remove unnecessary function prototype

PATCH In review Kenji Kaneshige 2 participants 3 messages Sep 7, 2005 – Sep 8, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 Minor cleanups - remove unnecessary function prototype

The function prototype for handl_IRQ_event() in include/asm-ia64/irq.h is no longer needed. This patch removes it.

---

 include/asm-ia64/irq.h |    4 ----
 1 files changed, 4 deletions(-)
include/asm-ia64/irq.h renamed from include/asm-ia64/irq.h~ia64-cleanup-remove-handle_IRQ_event +0 -4
diff -puN include/asm-ia64/irq.h~ia64-cleanup-remove-handle_IRQ_event include/asm-ia64/irq.h
@@ -36,8 +36,4 @@ extern void move_irq(int irq);
 #define move_irq(irq)
 #endif
 
-struct irqaction;
-struct pt_regs;
-int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
-
 #endif /* _ASM_IA64_IRQ_H */

_

#1 lore raw

Re: [PATCH 2.6.13 1/3] Minor cleanups - remove unnecessary function prototype in irq.h

Quoted 2 lines · Kenji Kaneshige

The function prototype for handl_IRQ_event() in include/asm-ia64/irq.h is no longer needed. This patch removes it.

Seems to me it can go away from every other architecture that's using GENERIC_HARDIRQS (ie frv i386 ia64 m32r mips parisc ppc ppc64 sh sh64 um x86_64 xtensa). Mind doing that for everyone?

#2 lore raw

Re: [PATCH 2.6.13 1/3] Minor cleanups - remove unnecessary function

In reply to Kenji Kaneshige
Quoted 9 lines · Matthew Wilcox
Quoted 2 lines · Kenji Kaneshige

The function prototype for handl_IRQ_event() in include/asm-ia64/irq.h is no longer needed. This patch removes it.

Seems to me it can go away from every other architecture that's using GENERIC_HARDIRQS (ie frv i386 ia64 m32r mips parisc ppc ppc64 sh sh64 um x86_64 xtensa). Mind doing that for everyone?

Sure.
I'll to try to make other patches for these architectures.

Thanks,
Kenji Kaneshige