mtd: minor coding style cleanup in mtdpart.c
Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
c9d1b75293
commit
58edc904bb
|
@ -761,7 +761,7 @@ int parse_mtd_partitions(struct mtd_info *master, const char **types,
|
||||||
for ( ; ret <= 0 && *types; types++) {
|
for ( ; ret <= 0 && *types; types++) {
|
||||||
parser = get_partition_parser(*types);
|
parser = get_partition_parser(*types);
|
||||||
if (!parser && !request_module("%s", *types))
|
if (!parser && !request_module("%s", *types))
|
||||||
parser = get_partition_parser(*types);
|
parser = get_partition_parser(*types);
|
||||||
if (!parser)
|
if (!parser)
|
||||||
continue;
|
continue;
|
||||||
ret = (*parser->parse_fn)(master, pparts, data);
|
ret = (*parser->parse_fn)(master, pparts, data);
|
||||||
|
|
Loading…
Reference in New Issue