The patch titled mtd: remove redundant/dead code from physmap_of.c has been added to the -mm tree. Its filename is mtd-remove-redundant-dead-code-from-physmap_ofc.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: mtd: remove redundant/dead code from physmap_of.c From: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx> Remove redundant memset() and dead return line from of_physmap_probe(). No functional change. Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx> Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/mtd/maps/physmap_of.c | 5 ----- 1 file changed, 5 deletions(-) diff -puN drivers/mtd/maps/physmap_of.c~mtd-remove-redundant-dead-code-from-physmap_ofc drivers/mtd/maps/physmap_of.c --- a/drivers/mtd/maps/physmap_of.c~mtd-remove-redundant-dead-code-from-physmap_ofc +++ a/drivers/mtd/maps/physmap_of.c @@ -141,7 +141,6 @@ static int __devinit of_physmap_probe(st err = -ENOMEM; goto err_out; } - memset(info, 0, sizeof(*info)); dev_set_drvdata(&dev->dev, info); @@ -213,10 +212,6 @@ static int __devinit of_physmap_probe(st err_out: of_physmap_remove(dev); return err; - - return 0; - - } static struct of_device_id of_physmap_match[] = { _ Patches currently in -mm which might be from m.kozlowski@xxxxxxxxxx are mtd-add-module-license-to-mtdbdi.patch mtd-remove-redundant-dead-code-from-physmap_ofc.patch dont-optimise-away-baud-rate-changes-when-bother-is-used.patch fs-9p-convc-error-path-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html