Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153788
b: refs/heads/master
c: f19e899
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and David Woodhouse committed Jun 5, 2009
1 parent 3dc2692 commit 153dd98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: ee8f37688966ab1438d0cf42e0cb7c6595d9592c
refs/heads/master: f19e8999a5631e3af0e1ca5127af80a25aba1fd7
11 changes: 0 additions & 11 deletions trunk/drivers/mtd/nand/davinci_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,19 +717,8 @@ static int __init nand_davinci_probe(struct platform_device *pdev)
static const char *probes[] __initconst =
{ "cmdlinepart", NULL };

const char *master_name;

/* Set info->mtd.name = 0 temporarily */
master_name = info->mtd.name;
info->mtd.name = (char *)0;

/* info->mtd.name == 0, means: don't bother checking
<mtd-id> */
mtd_parts_nb = parse_mtd_partitions(&info->mtd, probes,
&mtd_parts, 0);

/* Restore info->mtd.name */
info->mtd.name = master_name;
}

if (mtd_parts_nb <= 0) {
Expand Down

0 comments on commit 153dd98

Please sign in to comment.