Commit aa3c5dc52ee2fbfc3020fdc96eccb74f0fb2858d

Authored by Artem Bityutskiy
Committed by David Woodhouse
1 parent 4d3d688da8

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/mtd/cmdlinepart.c
... ... @@ -72,7 +72,7 @@
72 72  
73 73 /* the command line passed to mtdpart_setup() */
74 74 static char *cmdline;
75   -static int cmdline_parsed = 0;
  75 +static int cmdline_parsed;
76 76  
77 77 /*
78 78 * Parse one partition definition for an MTD. Since there can be many