Skip to contentSkip to conversation

: remove unused mach_trap_init

M68KNOMMU Greg Ungerer 1 participant 1 message Jul 26, 2007

lore
Share & tools
lore
#0 lore raw

Remove the unused mach_trap_init function pointer. All use of it removed with change to using generic irq framework.

---

arch/m68knommu/kernel/setup.c +0 -2
diff -Naur linux-2.6.23-rc1-git2/arch/m68knommu/kernel/setup.c linux/arch/m68knommu/kernel/setup.c
@@ -42,8 +42,6 @@
 
 char __initdata command_line[COMMAND_LINE_SIZE];
 
-void (*mach_trap_init)(void);
-
 /* machine dependent timer functions */
 void (*mach_sched_init)(irq_handler_t handler);
 void (*mach_tick)(void);
include/asm-m68knommu/machdep.h +0 -1
diff -Naur linux-2.6.23-rc1-git2/include/asm-m68knommu/machdep.h linux/include/asm-m68knommu/machdep.h
@@ -48,6 +48,5 @@
 
 extern void config_BSP(char *command, int len);
 extern void (*mach_tick)(void);
-extern void (*mach_trap_init)(void);
 
 #endif /* _M68KNOMMU_MACHDEP_H */