diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-31 09:10:02 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 10:29:57 -0400 |
commit | aa3c5dc52ee2fbfc3020fdc96eccb74f0fb2858d (patch) | |
tree | ea18c3e6b93708f81ea50ed26d48e90d39f43faa /drivers/mtd/cmdlinepart.c | |
parent | 4d3d688da8e7016f15483e9319b41311e1db9515 (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>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
-rw-r--r-- | 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 4558e0f4d07f..b4faca25cf31 100644 --- a/drivers/mtd/cmdlinepart.c +++ b/drivers/mtd/cmdlinepart.c | |||
@@ -72,7 +72,7 @@ static struct cmdline_mtd_partition *partitions; | |||
72 | 72 | ||
73 | /* the command line passed to mtdpart_setup() */ | 73 | /* the command line passed to mtdpart_setup() */ |
74 | static char *cmdline; | 74 | static char *cmdline; |
75 | static int cmdline_parsed = 0; | 75 | static int cmdline_parsed; |
76 | 76 | ||
77 | /* | 77 | /* |
78 | * Parse one partition definition for an MTD. Since there can be many | 78 | * Parse one partition definition for an MTD. Since there can be many |