]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/can/sja1000/ems_pci.c
can: sja1000: remove unnecessary pci_set_drvdata()
[karo-tx-linux.git] / drivers / net / can / sja1000 / ems_pci.c
index 3752342a678ac5320e68bf69f747b4f69034758d..835921388e7ba6ab4b6ee98306c629691421d8a7 100644 (file)
@@ -207,7 +207,6 @@ static void ems_pci_del_card(struct pci_dev *pdev)
        kfree(card);
 
        pci_disable_device(pdev);
-       pci_set_drvdata(pdev, NULL);
 }
 
 static void ems_pci_card_reset(struct ems_pci_card *card)