mtd: cmdlinepart: remove unneeded initialization
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Sep 29 10:59:12 EDT 2012
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=aa3c5dc52ee2fbfc3020fdc96eccb74f0fb2858d
Commit: aa3c5dc52ee2fbfc3020fdc96eccb74f0fb2858d
Parent: 4d3d688da8e7016f15483e9319b41311e1db9515
Author: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
AuthorDate: Fri Aug 31 16:10:02 2012 +0300
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sat Sep 29 15:29:57 2012 +0100
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 at linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/cmdlinepart.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c
index 4558e0f..b4faca2 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
More information about the linux-mtd-cvs
mailing list