Browse Source

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>
Artem Bityutskiy 13 years ago
parent
commit
aa3c5dc52e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/cmdlinepart.c

+ 1 - 1
drivers/mtd/cmdlinepart.c

@@ -72,7 +72,7 @@ static struct cmdline_mtd_partition *partitions;
 
 /* the command line passed to mtdpart_setup() */
 static char *cmdline;
-static int cmdline_parsed = 0;
+static int cmdline_parsed;
 
 /*
  * Parse one partition definition for an MTD. Since there can be many