virtnet: remove double ether_setup
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 6 Dec 2007 14:21:46 +0000 (15:21 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2008 12:50:07 +0000 (23:50 +1100)
commite70f2f1bb8c8cf08ba0d836466f77eea27dd3474
tree9027faa1ad6e6dbe848887454dc0718d7714fcf0
parentc6fd47011b4bdebad3f1513bac75fe4895e332ee
virtnet: remove double ether_setup

Hello Rusty,

virtnet_probe already calls alloc_etherdev, which calls ether_setup.
There is no need to do that again.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/virtio_net.c