|
@@ -73,8 +73,6 @@ int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm)
|
|
|
err = -EINVAL;
|
|
|
|
|
|
mutex_unlock(&rtc->ops_lock);
|
|
|
- /* A timer might have just expired */
|
|
|
- schedule_work(&rtc->irqwork);
|
|
|
return err;
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(rtc_set_time);
|
|
@@ -114,8 +112,6 @@ int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs)
|
|
|
err = -EINVAL;
|
|
|
|
|
|
mutex_unlock(&rtc->ops_lock);
|
|
|
- /* A timer might have just expired */
|
|
|
- schedule_work(&rtc->irqwork);
|
|
|
|
|
|
return err;
|
|
|
}
|
|
@@ -400,8 +396,6 @@ int rtc_initialize_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm)
|
|
|
timerqueue_add(&rtc->timerqueue, &rtc->aie_timer.node);
|
|
|
}
|
|
|
mutex_unlock(&rtc->ops_lock);
|
|
|
- /* maybe that was in the past.*/
|
|
|
- schedule_work(&rtc->irqwork);
|
|
|
return err;
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(rtc_initialize_alarm);
|