summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/intel_vr_nor.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/maps/intel_vr_nor.c')
-rw-r--r--drivers/mtd/maps/intel_vr_nor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/intel_vr_nor.c b/drivers/mtd/maps/intel_vr_nor.c
index f581ac1cf022..46d195fca942 100644
--- a/drivers/mtd/maps/intel_vr_nor.c
+++ b/drivers/mtd/maps/intel_vr_nor.c
@@ -180,7 +180,6 @@ static void vr_nor_pci_remove(struct pci_dev *dev)
{
struct vr_nor_mtd *p = pci_get_drvdata(dev);
- pci_set_drvdata(dev, NULL);
vr_nor_destroy_partitions(p);
vr_nor_destroy_mtd_setup(p);
vr_nor_destroy_maps(p);