Skip to content

Commit 130a838

Browse files
Atul Kumar Pantshuahkh
authored andcommitted
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>
1 parent 49360d9 commit 130a838

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/sched/cs_prctl_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ struct child_args {
7272

7373
static struct child_args procs[MAX_PROCESSES];
7474
static int num_processes = 2;
75-
static int need_cleanup = 0;
75+
static int need_cleanup;
7676

7777
static int _prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4,
7878
unsigned long arg5)

0 commit comments

Comments
 (0)