aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/physmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c
index e7a592c8c765..9eb7ead97f34 100644
--- a/drivers/mtd/maps/physmap.c
+++ b/drivers/mtd/maps/physmap.c
@@ -40,7 +40,6 @@ static int physmap_flash_remove(struct platform_device *dev)
40 info = platform_get_drvdata(dev); 40 info = platform_get_drvdata(dev);
41 if (info == NULL) 41 if (info == NULL)
42 return 0; 42 return 0;
43 platform_set_drvdata(dev, NULL);
44 43
45 physmap_data = dev->dev.platform_data; 44 physmap_data = dev->dev.platform_data;
46 45