You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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:
committed by
David S. Miller
parent
802aa9c058
commit
a31ff38805
+1
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user