Skip to contentSkip to conversation

clockevents: Remove clockevents_notify() prototype

PATCH New Stephen Boyd 2 participants 2 messages Jul 15, 2015 – Jul 20, 2015 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clockevents: Remove clockevents_notify() prototype

This function no longer exists after commit a49b116dcb12 (clockevents: Cleanup dead cpu explicitely, 2015-04-03). Remove the prototype and the stub function.

Cc Rafael J. Wysocki <[email protected]>
---
 include/linux/clockchips.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/clockchips.h +0 -3
index 597a1e836f22..31ce435981fe 100644
@@ -234,13 +234,10 @@ static inline int tick_check_broadcast_expired(void) { return 0; }
 static inline void tick_setup_hrtimer_broadcast(void) { }
 # endif
 
-extern int clockevents_notify(unsigned long reason, void *arg);
-
 #else /* !CONFIG_GENERIC_CLOCKEVENTS: */
 
 static inline void clockevents_suspend(void) { }
 static inline void clockevents_resume(void) { }
-static inline int clockevents_notify(unsigned long reason, void *arg) { return 0; }
 static inline int tick_check_broadcast_expired(void) { return 0; }
 static inline void tick_setup_hrtimer_broadcast(void) { }
 
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw
clockevents: Remove clockevents_notify() prototype
Commit-ID:  87dc11220df266d7d4b6dc594b55d0729b92809d
Gitweb:     http://git.kernel.org/tip/87dc11220df266d7d4b6dc594b55d0729b92809d
Author:     Stephen Boyd <[email protected]>
AuthorDate: Wed, 15 Jul 2015 11:21:40 -0700
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Mon, 20 Jul 2015 11:37:46 +0200

clockevents: Remove clockevents_notify() prototype

This function no longer exists after commit a49b116dcb12 (clockevents: Cleanup dead cpu explicitely, 2015-04-03). Remove the prototype and the stub function.

---
 include/linux/clockchips.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/clockchips.h +0 -3
index 597a1e8..31ce435 100644
@@ -234,13 +234,10 @@ static inline int tick_check_broadcast_expired(void) { return 0; }
 static inline void tick_setup_hrtimer_broadcast(void) { }
 # endif
 
-extern int clockevents_notify(unsigned long reason, void *arg);
-
 #else /* !CONFIG_GENERIC_CLOCKEVENTS: */
 
 static inline void clockevents_suspend(void) { }
 static inline void clockevents_resume(void) { }
-static inline int clockevents_notify(unsigned long reason, void *arg) { return 0; }
 static inline int tick_check_broadcast_expired(void) { return 0; }
 static inline void tick_setup_hrtimer_broadcast(void) { }