diff options
author | Atul Kumar Pant <atulpant.linux@gmail.com> | 2023-11-06 23:40:05 +0530 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-11-30 16:47:01 -0700 |
commit | 130a83879954a9fed35cf4474d223b4fcfd479fa (patch) | |
tree | c09e494ed91a4b16fbdec94c06766bcb2ab6dd7d | |
parent | 49360d978411eeaeffb96938edb53ee75ba471bc (diff) |
selftests: sched: Remove initialization to 0 for a static variable
Fixes following checkpatch.pl issue:
ERROR: do not initialise statics to 0
Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
-rw-r--r-- | tools/testing/selftests/sched/cs_prctl_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/sched/cs_prctl_test.c b/tools/testing/selftests/sched/cs_prctl_test.c index 3e1619b6bf2d..7ba057154343 100644 --- a/tools/testing/selftests/sched/cs_prctl_test.c +++ b/tools/testing/selftests/sched/cs_prctl_test.c @@ -72,7 +72,7 @@ struct child_args { static struct child_args procs[MAX_PROCESSES]; static int num_processes = 2; -static int need_cleanup = 0; +static int need_cleanup; static int _prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5) |