mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Remove sync_timers
@ 2002-06-18 13:45 Matthew Wilcox
  0 siblings, 0 replies; only message in thread
From: Matthew Wilcox @ 2002-06-18 13:45 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-18 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18 13:45 [PATCH] Remove sync_timers Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®