Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63868
b: refs/heads/master
c: 6ddfca9
h: refs/heads/master
v: v3
  • Loading branch information
Miao Xie authored and Linus Torvalds committed Aug 11, 2007
1 parent d50879a commit 21c89d2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96ddbf504a05502800e7cbeb4d08abbcc206c51c
refs/heads/master: 6ddfca9548d8ecc26096a30667423ba919109533
1 change: 0 additions & 1 deletion trunk/include/linux/clockchips.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
10 changes: 0 additions & 10 deletions trunk/kernel/time/clockevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 21c89d2

Please sign in to comment.