Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 802aa9c0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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)
{
	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) {