]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ae58356460c4892c4e6c9399347b33a2327bff9
tree9027faa1ad6e6dbe848887454dc0718d7714fcf0
parentcf00b7819a9ca5841ba2cea5ca84e7c831aaee05
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