Skip to content

Commit

Permalink
mtd: cmdlinepart: remove unneeded initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Artem Bityutskiy authored and David Woodhouse committed Sep 29, 2012
1 parent 4d3d688 commit aa3c5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/cmdlinepart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa3c5dc

Please sign in to comment.