aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r--drivers/net/virtio_net.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 6e0a9fefe6cb..be5688f5e931 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -307,7 +307,6 @@ static int virtnet_probe(struct virtio_device *vdev)
307 return -ENOMEM; 307 return -ENOMEM;
308 308
309 /* Set up network device as normal. */ 309 /* Set up network device as normal. */
310 ether_setup(dev);
311 dev->open = virtnet_open; 310 dev->open = virtnet_open;
312 dev->stop = virtnet_close; 311 dev->stop = virtnet_close;
313 dev->hard_start_xmit = start_xmit; 312 dev->hard_start_xmit = start_xmit;