#if 0 tasklet_kill_immediate()
PATCH 1/1 #if 0 tasklet_kill_immediate()
This patch #if 0's the no longer used tasklet_kill_immediate().
Signed-off-by Adrian Bunk <[email protected]>
---
include/linux/interrupt.h | 1 - kernel/softirq.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-)
06fc93a10822d4e9c53eaa2b4d0a16792305957e
include/linux/interrupt.h +0 -1
@@ -384,7 +384,6 @@ static inline void tasklet_hi_enable(struct tasklet_struct *t) }extern void tasklet_kill (struct tasklet_struct *t); -extern void tasklet_kill_immediate (struct tasklet_struct *t,unsigned int cpu);extern void tasklet_init (struct tasklet_struct *t,void (*func)(unsigned long ),unsigned long data);
kernel/softirq.c +3 -0
@@ -527,6 +527,8 @@ wait_to_die: }#ifdef CONFIG_HOTPLUG_CPU + +#if 0 /* * tasklet_kill_immediate is called to remove a tasklet which can already be * scheduled for execution on @cpu.
@@ -555,6 +557,7 @@ void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu) }BUG (); } +#endif /* 0 */ static void takeover_tasklets (unsigned int cpu) {