]> git.baikalelectronics.ru Git - kernel.git/commit
selftests:timers: globals don't need initialization to 0
authorZan Aziz <zanaziz313@gmail.com>
Sat, 2 Jul 2022 00:08:34 +0000 (18:08 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Sun, 3 Jul 2022 19:26:45 +0000 (13:26 -0600)
commita98cec8bbca204eb89d57a3c5a731d724092a10c
treec2dbb06d65faa198349c7496ae30d73a0c817e77
parentc4a38005f7b9a7db1afb6246c6af61aa625384a3
selftests:timers: globals don't need initialization to 0

Global variables do not need to be initialized to 0 and checkpatch
flags this error in tools/testing/selftests/timers/alarmtimer-suspend.c:

ERROR: do not initialise globals to 0
+int final_ret = 0;

Fix this checkpatch error.

Signed-off-by: Zan Aziz <zanaziz313@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/timers/alarmtimer-suspend.c