From: Artem Bityutskiy Date: Fri, 31 Aug 2012 13:10:02 +0000 (+0300) Subject: mtd: cmdlinepart: remove unneeded initialization X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa3c5dc52ee2fbfc3020fdc96eccb74f0fb2858d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mtd: cmdlinepart: remove unneeded initialization We do not have to initialize variables for .bss to 0 in Linux. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- 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