]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_scsi: drop scan callback
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 14 Oct 2014 23:52:33 +0000 (10:22 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Oct 2014 23:55:14 +0000 (10:25 +1030)
commit2e2ff1158e4b2132f7f691b2224c188ca098680d
treec7ce4f6f016a2c8e63817eae8295e529bc0ffdf3
parent966b418671cb27340de8a0c1d2524319156f9539
virtio_scsi: drop scan callback

Enable VQs early like we do for restore.
This makes it possible to drop the scan callback,
moving scanning into the probe function, and making
code simpler.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/scsi/virtio_scsi.c