dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Joe Perches 2010-11-15 10:13:57 +00:00 committed by David S. Miller
parent 802aa9c058
commit a31ff38805
1 changed files with 1 additions and 2 deletions

View File

@ -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) {