3c59x: remove useless VORTEX_PCI() invocations
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 19 May 2013 10:17:13 +0000 (10:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2013 20:34:20 +0000 (13:34 -0700)
commit4fc1ad6f4b4d9214505eda434b1ed3b0bfd16981
treeecdca0ca54cfe6dcb6bd8c7667fbf96adba25d7a
parent1e18583adccfc122b5d6415cfe4bf1826c370f4e
3c59x: remove useless VORTEX_PCI() invocations

It's suboptimal to invoke quite complex VORTEX_PCI() macro every time we want
to get a 'struct pci_dev *' when we already have it in a variable...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/3c59x.c