Skip to content

Commit aa3c5dc

Browse files
dedekindDavid Woodhouse
authored andcommitted
mtd: cmdlinepart: remove unneeded initialization
We do not have to initialize variables for .bss to 0 in Linux. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent 4d3d688 commit aa3c5dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/cmdlinepart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static struct cmdline_mtd_partition *partitions;
7272

7373
/* the command line passed to mtdpart_setup() */
7474
static char *cmdline;
75-
static int cmdline_parsed = 0;
75+
static int cmdline_parsed;
7676

7777
/*
7878
* Parse one partition definition for an MTD. Since there can be many

0 commit comments

Comments
 (0)