Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93029
b: refs/heads/master
c: b0d06af
h: refs/heads/master
i:
  93027: d975cba
v: v3
  • Loading branch information
Peter Korsgaard authored and David Woodhouse committed Apr 22, 2008
1 parent 0c293a3 commit 631e29b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3f08b353519ee9c64308837199a9fcf83e863da
refs/heads/master: b0d06afb60741c19e103ffd60927f68e17c9d199
5 changes: 1 addition & 4 deletions trunk/drivers/mtd/cmdlinepart.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,6 @@ static int parse_cmdline_partitions(struct mtd_info *master,
struct cmdline_mtd_partition *part;
char *mtd_id = master->name;

if(!cmdline)
return -EINVAL;

/* parse command line */
if (!cmdline_parsed)
mtdpart_setup_real(cmdline);
Expand Down Expand Up @@ -343,7 +340,7 @@ static int parse_cmdline_partitions(struct mtd_info *master,
return part->num_parts;
}
}
return -EINVAL;
return 0;
}


Expand Down

0 comments on commit 631e29b

Please sign in to comment.