Commit a31ff388 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

drivers/net/s2io.c: Remove unnecessary casts of pci_get_drvdata

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 802aa9c0
...@@ -8321,8 +8321,7 @@ s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre) ...@@ -8321,8 +8321,7 @@ s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre)
static void __devexit s2io_rem_nic(struct pci_dev *pdev) static void __devexit s2io_rem_nic(struct pci_dev *pdev)
{ {
struct net_device *dev = struct net_device *dev = pci_get_drvdata(pdev);
(struct net_device *)pci_get_drvdata(pdev);
struct s2io_nic *sp; struct s2io_nic *sp;
if (dev == NULL) { if (dev == NULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment