Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=78c1b0657475dbafa008c71e3ccdc32141d8c7c7
Commit:     78c1b0657475dbafa008c71e3ccdc32141d8c7c7
Parent:     506eb99a26e7af8b649faa135f648d1a2f1e4cdc
Author:     Andi Kleen <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 15 23:40:15 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Jul 16 09:05:43 2007 -0700

    Remove clockevents_{release,request}_device
    
    Not called by anything in tree.
    
    Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
    Acked-by: Ingo Molnar <[EMAIL PROTECTED]>
    Cc: Thomas Gleixner <[EMAIL PROTECTED]>
    Cc: john stultz <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 kernel/time/clockevents.c |   41 -----------------------------------------
 1 files changed, 0 insertions(+), 41 deletions(-)

diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 76212b2..2ad1c37 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -205,47 +205,6 @@ void clockevents_exchange_device(struct clock_event_device 
*old,
 }
 
 /**
- * clockevents_request_device
- */
-struct clock_event_device *clockevents_request_device(unsigned int features,
-                                                     cpumask_t cpumask)
-{
-       struct clock_event_device *cur, *dev = NULL;
-       struct list_head *tmp;
-
-       spin_lock(&clockevents_lock);
-
-       list_for_each(tmp, &clockevent_devices) {
-               cur = list_entry(tmp, struct clock_event_device, list);
-
-               if ((cur->features & features) == features &&
-                   cpus_equal(cpumask, cur->cpumask)) {
-                       if (!dev || dev->rating < cur->rating)
-                               dev = cur;
-               }
-       }
-
-       clockevents_exchange_device(NULL, dev);
-
-       spin_unlock(&clockevents_lock);
-
-       return dev;
-}
-
-/**
- * clockevents_release_device
- */
-void clockevents_release_device(struct clock_event_device *dev)
-{
-       spin_lock(&clockevents_lock);
-
-       clockevents_exchange_device(dev, NULL);
-       clockevents_notify_released();
-
-       spin_unlock(&clockevents_lock);
-}
-
-/**
  * clockevents_notify - notification about relevant events
  */
 void clockevents_notify(unsigned long reason, void *arg)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to