summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-08-31 16:10:02 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-09-29 15:29:57 +0100
commitaa3c5dc52ee2fbfc3020fdc96eccb74f0fb2858d (patch)
treeea18c3e6b93708f81ea50ed26d48e90d39f43faa
parent4d3d688da8e7016f15483e9319b41311e1db9515 (diff)
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>
-rw-r--r--drivers/mtd/cmdlinepart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c
index 4558e0f4d07f..b4faca25cf31 100644
--- a/drivers/mtd/cmdlinepart.c
+++ b/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