virtio: blk: Move vq initialization to separate function
authorAmit Shah <amit.shah@redhat.com>
Thu, 22 Dec 2011 11:28:29 +0000 (16:28 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:45 +0000 (15:14 +1030)
commit6abd6e5a4404056e28be04958a57d0286883161a
tree3a862f66577272bfc3103827b515e9564197b24c
parentc743d09dbd018dd6345519fb3264b16bdaa41746
virtio: blk: Move vq initialization to 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/block/virtio_blk.c