summaryrefslogtreecommitdiff
path: root/drivers/net/fddi/skfp
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-10 12:49:34 +0900
committerDavid S. Miller <davem@davemloft.net>2013-12-10 22:31:32 -0500
commit49f74ed6da4d70adc81be36f4dde22fa23f28171 (patch)
treec9717fb89593d56a78cd176b9e512fef12e08295 /drivers/net/fddi/skfp
parent79ac7c941124866a72f000bb1fbb65dc1d1cf8cb (diff)
net: fddi: remove unnecessary pci_set_drvdata()
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi/skfp')
-rw-r--r--drivers/net/fddi/skfp/skfddi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/skfddi.c b/drivers/net/fddi/skfp/skfddi.c
index 713d303a06a9..d5f58121b2e2 100644
--- a/drivers/net/fddi/skfp/skfddi.c
+++ b/drivers/net/fddi/skfp/skfddi.c
@@ -351,7 +351,6 @@ static void skfp_remove_one(struct pci_dev *pdev)
free_netdev(p);
pci_disable_device(pdev);
- pci_set_drvdata(pdev, NULL);
}
/*