diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-07-25 15:58:10 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-07-26 16:08:53 +0300 |
commit | acecb3ad8b21a519ce4ad728106d45d4e978bb56 (patch) | |
tree | fe275bcd4dd62c55faead9de0973a46e3656ac5a /drivers/rtc/class.c | |
parent | 1560d0848a1a84db6c1d9b17c14273c0dae41828 (diff) | |
download | linux-acecb3ad8b21a519ce4ad728106d45d4e978bb56.tar.xz |
rtc: remove irq_task and irq_task_lock
There is no way to set a periodic task anymore, remove task pointer and
lock.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/class.c')
-rw-r--r-- | drivers/rtc/class.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 7fa32c922617..0fca4d74c76b 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @@ -172,7 +172,6 @@ static struct rtc_device *rtc_allocate_device(void) mutex_init(&rtc->ops_lock); spin_lock_init(&rtc->irq_lock); - spin_lock_init(&rtc->irq_task_lock); init_waitqueue_head(&rtc->irq_queue); /* Init timerqueue */ |