scsi: core: remove .for_blk_mq
authorMing Lei <ming.lei@redhat.com>
Sun, 19 Jan 2020 07:14:28 +0000 (15:14 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 11 Feb 2020 03:46:55 +0000 (22:46 -0500)
Not in use anymore. Remove the flag.

Cc: Sathya Prakash <sathya.prakash@broadcom.com>
Cc: Chaitra P B <chaitra.basappa@broadcom.com>
Cc: Suganath Prabu Subramani <suganath-prabu.subramani@broadcom.com>
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: Sumit Saxena <sumit.saxena@broadcom.com>
Cc: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Cc: Ewan D. Milne <emilne@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Bart Van Assche <bart.vanassche@wdc.com>
Link: https://lore.kernel.org/r/20200119071432.18558-3-ming.lei@redhat.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/virtio_scsi.c
include/scsi/scsi_host.h

index bfec84aacd90b6c812659418f27f2ebcd009099b..0e0910c5b94242488ea306a8fb1df8e1fdda7048 100644 (file)
@@ -742,7 +742,6 @@ static struct scsi_host_template virtscsi_host_template = {
        .dma_boundary = UINT_MAX,
        .map_queues = virtscsi_map_queues,
        .track_queue_depth = 1,
-       .force_blk_mq = 1,
 };
 
 #define virtscsi_config_get(vdev, fld) \
index f577647bf5f21d95e10af5339be0363af6e03d2d..7a97fb8104cfa57f496590d05ae15d4833ced239 100644 (file)
@@ -426,9 +426,6 @@ struct scsi_host_template {
        /* True if the controller does not support WRITE SAME */
        unsigned no_write_same:1;
 
-       /* True if the low-level driver supports blk-mq only */
-       unsigned force_blk_mq:1;
-
        /*
         * Countdown for host blocking with no commands outstanding.
         */