scsi: remove ordered_tag host template field
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Nov 2014 13:47:07 +0000 (14:47 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:19:41 +0000 (11:19 +0100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/hosts.c
drivers/usb/storage/uas.c
include/scsi/scsi_host.h

index 06030e1ad696fa28c1582650c5dfa53988b5a520..8bb173e01084efb40b80121cda098651375ed3ce 100644 (file)
@@ -418,7 +418,6 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
        shost->cmd_per_lun = sht->cmd_per_lun;
        shost->unchecked_isa_dma = sht->unchecked_isa_dma;
        shost->use_clustering = sht->use_clustering;
-       shost->ordered_tag = sht->ordered_tag;
        shost->no_write_same = sht->no_write_same;
 
        if (shost_eh_deadline == -1 || !sht->eh_host_reset_handler)
index b38bc1318a6060f07d5cd206d4efe3181df14c20..1bc5df4200a7bf10fa05a689b2b5929cfb4afd3e 100644 (file)
@@ -817,7 +817,6 @@ static struct scsi_host_template uas_host_template = {
        .sg_tablesize = SG_NONE,
        .cmd_per_lun = 1,       /* until we override it */
        .skip_settle_delay = 1,
-       .ordered_tag = 1,
 
        /*
         * The uas drivers expects tags not to be bigger than the maximum
index bb9e27815be5d7dba5888e5a4f7fb7b7abc17512..5b03ba9d73900018cf5e9cd6411b9492d512dcad 100644 (file)
@@ -451,11 +451,6 @@ struct scsi_host_template {
         */
        unsigned skip_settle_delay:1;
 
-       /*
-        * True if we are using ordered write support.
-        */
-       unsigned ordered_tag:1;
-
        /* True if the controller does not support WRITE SAME */
        unsigned no_write_same:1;
 
@@ -670,11 +665,6 @@ struct Scsi_Host {
         */
        unsigned reverse_ordering:1;
 
-       /*
-        * Ordered write support
-        */
-       unsigned ordered_tag:1;
-
        /* Task mgmt function in progress */
        unsigned tmf_in_progress:1;