]> 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)
commit2a943bf9c06a863ec9db1dbadb54b1cf59690363
treec7ce4f6f016a2c8e63817eae8295e529bc0ffdf3
parentff247af4974a55f820431554504dbcfcc394b820
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