Commit 94173f68 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] Remove sync_timers

Nobody's using it any more, kill:
parent 4f9d90c4
...@@ -25,10 +25,8 @@ extern int del_timer(struct timer_list * timer); ...@@ -25,10 +25,8 @@ extern int del_timer(struct timer_list * timer);
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
extern int del_timer_sync(struct timer_list * timer); extern int del_timer_sync(struct timer_list * timer);
extern void sync_timers(void);
#else #else
#define del_timer_sync(t) del_timer(t) #define del_timer_sync(t) del_timer(t)
#define sync_timers() do { } while (0)
#endif #endif
/* /*
......
...@@ -232,11 +232,6 @@ int del_timer(struct timer_list * timer) ...@@ -232,11 +232,6 @@ int del_timer(struct timer_list * timer)
} }
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
void sync_timers(void)
{
spin_unlock_wait(&global_bh_lock);
}
/* /*
* SMP specific function to delete periodic timer. * SMP specific function to delete periodic timer.
* Caller must disable by some means restarting the timer * Caller must disable by some means restarting the timer
......
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