projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
802aa9c
)
drivers/net/s2io.c: Remove unnecessary casts of pci_get_drvdata
author
Joe Perches
<joe@perches.com>
Mon, 15 Nov 2010 10:13:57 +0000
(10:13 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 17 Nov 2010 20:25:02 +0000
(12:25 -0800)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c
patch
|
blob
|
history
diff --git
a/drivers/net/s2io.c
b/drivers/net/s2io.c
index ecc25aab896af3ee9e55a9da4e90bccd32553d37..0f4219cb0be2e5ab88fba5c82ba7ebd822af781f 100644
(file)
--- 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) {