Message ID | 20230627175837.4995-1-kunyu@nfschina.com |
---|---|
State | New |
Headers | |
Series | time: hrtimer: Remove unnecessary ‘0’ values from ret | |
Commit Message
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index e8c08292defc..9f90e76c6cd9 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -2085,7 +2085,7 @@ long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, { struct restart_block *restart; struct hrtimer_sleeper t; - int ret = 0; + int ret; u64 slack; slack = current->timer_slack_ns;