diff options
author | Joe Perches <joe@perches.com> | 2010-11-15 10:13:57 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-17 12:25:02 -0800 |
commit | a31ff3880578c37fd5c71ee863c23897dacfa9f8 (patch) | |
tree | a11f9d68142bea23e590b068e174146ce2e8ad0d | |
parent | 802aa9c058f2046f0a5683f04d7755c362734010 (diff) | |
download | op-kernel-dev-a31ff3880578c37fd5c71ee863c23897dacfa9f8.zip op-kernel-dev-a31ff3880578c37fd5c71ee863c23897dacfa9f8.tar.gz |
drivers/net/s2io.c: Remove unnecessary casts of pci_get_drvdata
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-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 ecc25aa..0f4219c 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -8321,8 +8321,7 @@ mem_alloc_failed: static void __devexit s2io_rem_nic(struct pci_dev *pdev) { - struct net_device *dev = - (struct net_device *)pci_get_drvdata(pdev); + struct net_device *dev = pci_get_drvdata(pdev); struct s2io_nic *sp; if (dev == NULL) { |