alarmtimer: Remove unnecessary initialization of variable 'ret'
authorLi zeming <zeming@nfschina.com>
Fri, 9 Jun 2023 18:28:56 +0000 (02:28 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 18 Jun 2023 20:41:53 +0000 (22:41 +0200)
commit986af8dc5af834071a8a7afdf2c3b7a57d562df2
tree2824c2dd2b154ec434d37e4fd35cbfa2c33830ab
parentb9a40f24d8ea86f89f1299a3f2dccd601febe3e5
alarmtimer: Remove unnecessary initialization of variable 'ret'

ret is assigned before checked, so it does not need to initialize the
variable

Signed-off-by: Li zeming <zeming@nfschina.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230609182856.4660-1-zeming@nfschina.com
kernel/time/alarmtimer.c