aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/timer.c')
-rw-r--r--kernel/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 5c1e49ec2f1b..33fc9d175f40 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -721,7 +721,7 @@ int mod_timer(struct timer_list *timer, unsigned long expires)
721 * networking code - if the timer is re-modified 721 * networking code - if the timer is re-modified
722 * to be the same thing then just return: 722 * to be the same thing then just return:
723 */ 723 */
724 if (timer->expires == expires && timer_pending(timer)) 724 if (timer_pending(timer) && timer->expires == expires)
725 return 1; 725 return 1;
726 726
727 return __mod_timer(timer, expires, false, TIMER_NOT_PINNED); 727 return __mod_timer(timer, expires, false, TIMER_NOT_PINNED);