]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/iseries_veth.c
drivers/net: Remove unnecessary casts of netdev_priv
[net-next-2.6.git] / drivers / net / iseries_veth.c
index 8df645e78f2e9618bd22b83225efbfde4f43008a..38e15be6d5135e00af3766da939f5ab93c5db87b 100644 (file)
@@ -1605,7 +1605,7 @@ static int veth_probe(struct vio_dev *vdev, const struct vio_device_id *id)
        }
        veth_dev[i] = dev;
 
-       port = (struct veth_port*)netdev_priv(dev);
+       port = netdev_priv(dev);
 
        /* Start the state machine on each connection on this vlan. If we're
         * the first dev to do so this will commence link negotiation */