diff options
Diffstat (limited to 'kernel/time/clockevents.c')
| -rw-r--r-- | kernel/time/clockevents.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 3d1e3e1a1971..1876b526c778 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c | |||
| @@ -177,7 +177,7 @@ void clockevents_register_device(struct clock_event_device *dev) | |||
| 177 | /* | 177 | /* |
| 178 | * Noop handler when we shut down an event device | 178 | * Noop handler when we shut down an event device |
| 179 | */ | 179 | */ |
| 180 | static void clockevents_handle_noop(struct clock_event_device *dev) | 180 | void clockevents_handle_noop(struct clock_event_device *dev) |
| 181 | { | 181 | { |
| 182 | } | 182 | } |
| 183 | 183 | ||
| @@ -199,7 +199,6 @@ void clockevents_exchange_device(struct clock_event_device *old, | |||
| 199 | * released list and do a notify add later. | 199 | * released list and do a notify add later. |
| 200 | */ | 200 | */ |
| 201 | if (old) { | 201 | if (old) { |
| 202 | old->event_handler = clockevents_handle_noop; | ||
| 203 | clockevents_set_mode(old, CLOCK_EVT_MODE_UNUSED); | 202 | clockevents_set_mode(old, CLOCK_EVT_MODE_UNUSED); |
| 204 | list_del(&old->list); | 203 | list_del(&old->list); |
| 205 | list_add(&old->list, &clockevents_released); | 204 | list_add(&old->list, &clockevents_released); |
