aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/iseries_veth.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-15 06:12:31 -0500
committerDavid S. Miller <davem@davemloft.net>2010-11-17 13:37:52 -0500
commitece49153b601d95bcebd45a6394e370972f0b0a0 (patch)
treed4471256b69ce4d71458dca460621990eec503be /drivers/net/iseries_veth.c
parent5f54cebb13cdb8dcd85036f8bee29f14db18b6e1 (diff)
drivers/net: Remove unnecessary casts of netdev_priv
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/iseries_veth.c')
-rw-r--r--drivers/net/iseries_veth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c
index 8df645e78f2e..38e15be6d513 100644
--- a/drivers/net/iseries_veth.c
+++ b/drivers/net/iseries_veth.c
@@ -1605,7 +1605,7 @@ static int veth_probe(struct vio_dev *vdev, const struct vio_device_id *id)
1605 } 1605 }
1606 veth_dev[i] = dev; 1606 veth_dev[i] = dev;
1607 1607
1608 port = (struct veth_port*)netdev_priv(dev); 1608 port = netdev_priv(dev);
1609 1609
1610 /* Start the state machine on each connection on this vlan. If we're 1610 /* Start the state machine on each connection on this vlan. If we're
1611 * the first dev to do so this will commence link negotiation */ 1611 * the first dev to do so this will commence link negotiation */