Skip to content

Commit

Permalink
clockevents: Remove the broadcast control leftovers
Browse files Browse the repository at this point in the history
All users converted. Remove the notify leftovers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/2076318.76XJZ8QYP3@vostro.rjw.lan
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Apr 3, 2015
1 parent fa8589f commit 89feddb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions include/linux/clockchips.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
/* Clock event notification values */
enum clock_event_nofitiers {
CLOCK_EVT_NOTIFY_ADD,
CLOCK_EVT_NOTIFY_BROADCAST_ON,
CLOCK_EVT_NOTIFY_BROADCAST_OFF,
CLOCK_EVT_NOTIFY_BROADCAST_FORCE,
CLOCK_EVT_NOTIFY_BROADCAST_ENTER,
CLOCK_EVT_NOTIFY_BROADCAST_EXIT,
CLOCK_EVT_NOTIFY_CPU_DYING,
Expand Down
10 changes: 0 additions & 10 deletions kernel/time/clockevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,16 +655,6 @@ int clockevents_notify(unsigned long reason, void *arg)
raw_spin_lock_irqsave(&clockevents_lock, flags);

switch (reason) {
case CLOCK_EVT_NOTIFY_BROADCAST_ON:
tick_broadcast_enable();
break;
case CLOCK_EVT_NOTIFY_BROADCAST_OFF:
tick_broadcast_disable();
break;
case CLOCK_EVT_NOTIFY_BROADCAST_FORCE:
tick_broadcast_force();
break;

case CLOCK_EVT_NOTIFY_BROADCAST_ENTER:
case CLOCK_EVT_NOTIFY_BROADCAST_EXIT:
ret = tick_broadcast_oneshot_control(reason);
Expand Down

0 comments on commit 89feddb

Please sign in to comment.