diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2007-08-10 13:01:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-11 15:47:42 -0700 |
commit | 6ddfca9548d8ecc26096a30667423ba919109533 (patch) | |
tree | 9ba14a9d610439d724e199e3770967be544a5dad /kernel | |
parent | 96ddbf504a05502800e7cbeb4d08abbcc206c51c (diff) | |
download | talos-op-linux-6ddfca9548d8ecc26096a30667423ba919109533.tar.gz talos-op-linux-6ddfca9548d8ecc26096a30667423ba919109533.zip |
timer: remove clockevents_unregister_notifier
I find a function(clockevents_unregister_notifier) which is not called by
anything in tree.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/clockevents.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 2ad1c37b8dfe..41dd3105ce7f 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c @@ -113,16 +113,6 @@ int clockevents_register_notifier(struct notifier_block *nb) return ret; } -/** - * clockevents_unregister_notifier - unregister a clock events change listener - */ -void clockevents_unregister_notifier(struct notifier_block *nb) -{ - spin_lock(&clockevents_lock); - raw_notifier_chain_unregister(&clockevents_chain, nb); - spin_unlock(&clockevents_lock); -} - /* * Notify about a clock event change. Called with clockevents_lock * held. |