virtio: net: Move vq initialization into separate function
authorAmit Shah <amit.shah@redhat.com>
Thu, 22 Dec 2011 11:28:31 +0000 (16:58 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:46 +0000 (15:44 +1030)
commit3f9c10b0d478a3b7c3dde555edae79fecef496e5
treec83b10130dddce52bb8c71ea4b9e4acb82ee5bd0
parentf8fb5bc23a50a5398aa31a4e8c6dbbef53d2dec6
virtio: net: Move vq initialization into separate function

The probe and PM restore functions will share this code.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/virtio_net.c