diff options
-rw-r--r-- | drivers/net/s2io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index ecc25aab896a..0f4219cb0be2 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -8321,8 +8321,7 @@ mem_alloc_failed: | |||
8321 | 8321 | ||
8322 | static void __devexit s2io_rem_nic(struct pci_dev *pdev) | 8322 | static void __devexit s2io_rem_nic(struct pci_dev *pdev) |
8323 | { | 8323 | { |
8324 | struct net_device *dev = | 8324 | struct net_device *dev = pci_get_drvdata(pdev); |
8325 | (struct net_device *)pci_get_drvdata(pdev); | ||
8326 | struct s2io_nic *sp; | 8325 | struct s2io_nic *sp; |
8327 | 8326 | ||
8328 | if (dev == NULL) { | 8327 | if (dev == NULL) { |