Dead code in mtd/maps/pci.c
PATCH 1/1 Dead code in mtd/maps/pci.c
hi,
this fixed coverity bug #12. The first two gotos in the function still have the initial value for mtd set. And the third goto just triggers for !mtd
Signed-off-by Eric Sesterhenn <[email protected]>
drivers/mtd/maps/pci.c renamed from drivers/mtd/maps/pci.c.orig +0 -3
@@ -334,9 +334,6 @@ mtd_pci_probe(struct pci_dev *dev, constreturn 0 ; release: -if (mtd) -map_destroy (mtd); -if (map) { map->exit (dev, map);kfree (map);