[PATCH] Remove sync_timers

From: Matthew Wilcox (willy@debian.org)
Date: Tue Jun 18 2002 - 08:45:41 EST


Nobody's using it any more, kill:

diff -urNX dontdiff linux-2.5.22/include/linux/timer.h linux-2.5.22-bh/include/linux/timer.h
--- linux-2.5.22/include/linux/timer.h Thu Jun 6 06:57:51 2002
+++ linux-2.5.22-bh/include/linux/timer.h Mon Jun 17 16:02:04 2002
@@ -25,10 +25,8 @@
 
 #ifdef CONFIG_SMP
 extern int del_timer_sync(struct timer_list * timer);
-extern void sync_timers(void);
 #else
 #define del_timer_sync(t) del_timer(t)
-#define sync_timers() do { } while (0)
 #endif
 
 /*
diff -urNX dontdiff linux-2.5.22/kernel/timer.c linux-2.5.22-bh/kernel/timer.c
--- linux-2.5.22/kernel/timer.c Sun Jun 9 06:09:49 2002
+++ linux-2.5.22-bh/kernel/timer.c Tue Jun 18 05:13:51 2002
@@ -231,11 +232,6 @@
 }
 
 #ifdef CONFIG_SMP
-void sync_timers(void)
-{
- spin_unlock_wait(&global_bh_lock);
-}
-
 /*
  * SMP specific function to delete periodic timer.
  * Caller must disable by some means restarting the timer

-- 
Revolutions do not require corporate support.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:16 EST