diff options
-rw-r--r-- | drivers/isdn/mISDN/timerdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/mISDN/timerdev.c b/drivers/isdn/mISDN/timerdev.c index f2b32186d4a1..bbd99d3282c0 100644 --- a/drivers/isdn/mISDN/timerdev.c +++ b/drivers/isdn/mISDN/timerdev.c | |||
@@ -152,8 +152,7 @@ dev_expire_timer(unsigned long data) | |||
152 | u_long flags; | 152 | u_long flags; |
153 | 153 | ||
154 | spin_lock_irqsave(&timer->dev->lock, flags); | 154 | spin_lock_irqsave(&timer->dev->lock, flags); |
155 | list_del(&timer->list); | 155 | list_move_tail(&timer->list, &timer->dev->expired); |
156 | list_add_tail(&timer->list, &timer->dev->expired); | ||
157 | spin_unlock_irqrestore(&timer->dev->lock, flags); | 156 | spin_unlock_irqrestore(&timer->dev->lock, flags); |
158 | wake_up_interruptible(&timer->dev->wait); | 157 | wake_up_interruptible(&timer->dev->wait); |
159 | } | 158 | } |