[PATCH 08/20] clockevents: Remove the broadcast control leftovers

From: Rafael J. Wysocki
Date: Wed Apr 01 2015 - 18:06:25 EST


From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

All users converted. Remove the notify leftovers.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
---
include/linux/clockchips.h | 3 ---
kernel/time/clockevents.c | 10 ----------
2 files changed, 13 deletions(-)

Index: linux-pm/include/linux/clockchips.h
===================================================================
--- linux-pm.orig/include/linux/clockchips.h
+++ linux-pm/include/linux/clockchips.h
@@ -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,
Index: linux-pm/kernel/time/clockevents.c
===================================================================
--- linux-pm.orig/kernel/time/clockevents.c
+++ linux-pm/kernel/time/clockevents.c
@@ -655,16 +655,6 @@ int clockevents_notify(unsigned long rea
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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/