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>
This commit is contained in:
Zan Aziz 2022-07-01 18:08:34 -06:00 committed by Shuah Khan
parent 8587f3732b
commit b7ecce6800
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ long long timespec_sub(struct timespec a, struct timespec b)
return ret;
}
int final_ret = 0;
int final_ret;
void sigalarm(int signo)
{