virtio: net: Move vq and vq buf removal into separate function
authorAmit Shah <amit.shah@redhat.com>
Thu, 22 Dec 2011 11:28:32 +0000 (16:58 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:46 +0000 (15:44 +1030)
commit04486ed019d249249c00546704af12498a432c15
tree13c2d4e7a02dffbd75c9476bde3ef4dcfcf8cd8a
parent3f9c10b0d478a3b7c3dde555edae79fecef496e5
virtio: net: Move vq and vq buf removal into separate function

The remove and PM freeze 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