From 21c89d2e8c9e2ff4567c7360eeb023eaf9c20f80 Mon Sep 17 00:00:00 2001 From: Miao Xie Date: Fri, 10 Aug 2007 13:01:09 -0700 Subject: [PATCH] --- yaml --- r: 63868 b: refs/heads/master c: 6ddfca9548d8ecc26096a30667423ba919109533 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/clockchips.h | 1 - trunk/kernel/time/clockevents.c | 10 ---------- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/[refs] b/[refs] index 38083c2ee42c..d5ee683ee184 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 96ddbf504a05502800e7cbeb4d08abbcc206c51c +refs/heads/master: 6ddfca9548d8ecc26096a30667423ba919109533 diff --git a/trunk/include/linux/clockchips.h b/trunk/include/linux/clockchips.h index e0bd46eb2414..def5a659b8a5 100644 --- a/trunk/include/linux/clockchips.h +++ b/trunk/include/linux/clockchips.h @@ -123,7 +123,6 @@ extern void clockevents_exchange_device(struct clock_event_device *old, extern void clockevents_set_mode(struct clock_event_device *dev, enum clock_event_mode mode); extern int clockevents_register_notifier(struct notifier_block *nb); -extern void clockevents_unregister_notifier(struct notifier_block *nb); extern int clockevents_program_event(struct clock_event_device *dev, ktime_t expires, ktime_t now); diff --git a/trunk/kernel/time/clockevents.c b/trunk/kernel/time/clockevents.c index 2ad1c37b8dfe..41dd3105ce7f 100644 --- a/trunk/kernel/time/clockevents.c +++ b/trunk/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.