diff options
author | Christoph Hellwig <hch@lst.de> | 2014-11-03 08:47:07 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 05:19:41 -0500 |
commit | abd0c533e37789ef56a73562d6d06d39897bd801 (patch) | |
tree | 6527d4c8c0da37ac9ab6d17e05b612995933f851 | |
parent | 609aa22f3be76d470a334f39cc2197112dc91bd7 (diff) |
scsi: remove ordered_tag host template field
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>
-rw-r--r-- | drivers/scsi/hosts.c | 1 | ||||
-rw-r--r-- | drivers/usb/storage/uas.c | 1 | ||||
-rw-r--r-- | include/scsi/scsi_host.h | 10 |
3 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index 06030e1ad696..8bb173e01084 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c | |||
@@ -418,7 +418,6 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) | |||
418 | shost->cmd_per_lun = sht->cmd_per_lun; | 418 | shost->cmd_per_lun = sht->cmd_per_lun; |
419 | shost->unchecked_isa_dma = sht->unchecked_isa_dma; | 419 | shost->unchecked_isa_dma = sht->unchecked_isa_dma; |
420 | shost->use_clustering = sht->use_clustering; | 420 | shost->use_clustering = sht->use_clustering; |
421 | shost->ordered_tag = sht->ordered_tag; | ||
422 | shost->no_write_same = sht->no_write_same; | 421 | shost->no_write_same = sht->no_write_same; |
423 | 422 | ||
424 | if (shost_eh_deadline == -1 || !sht->eh_host_reset_handler) | 423 | if (shost_eh_deadline == -1 || !sht->eh_host_reset_handler) |
diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index b38bc1318a60..1bc5df4200a7 100644 --- a/drivers/usb/storage/uas.c +++ b/drivers/usb/storage/uas.c | |||
@@ -817,7 +817,6 @@ static struct scsi_host_template uas_host_template = { | |||
817 | .sg_tablesize = SG_NONE, | 817 | .sg_tablesize = SG_NONE, |
818 | .cmd_per_lun = 1, /* until we override it */ | 818 | .cmd_per_lun = 1, /* until we override it */ |
819 | .skip_settle_delay = 1, | 819 | .skip_settle_delay = 1, |
820 | .ordered_tag = 1, | ||
821 | 820 | ||
822 | /* | 821 | /* |
823 | * The uas drivers expects tags not to be bigger than the maximum | 822 | * The uas drivers expects tags not to be bigger than the maximum |
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index bb9e27815be5..5b03ba9d7390 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -451,11 +451,6 @@ struct scsi_host_template { | |||
451 | */ | 451 | */ |
452 | unsigned skip_settle_delay:1; | 452 | unsigned skip_settle_delay:1; |
453 | 453 | ||
454 | /* | ||
455 | * True if we are using ordered write support. | ||
456 | */ | ||
457 | unsigned ordered_tag:1; | ||
458 | |||
459 | /* True if the controller does not support WRITE SAME */ | 454 | /* True if the controller does not support WRITE SAME */ |
460 | unsigned no_write_same:1; | 455 | unsigned no_write_same:1; |
461 | 456 | ||
@@ -670,11 +665,6 @@ struct Scsi_Host { | |||
670 | */ | 665 | */ |
671 | unsigned reverse_ordering:1; | 666 | unsigned reverse_ordering:1; |
672 | 667 | ||
673 | /* | ||
674 | * Ordered write support | ||
675 | */ | ||
676 | unsigned ordered_tag:1; | ||
677 | |||
678 | /* Task mgmt function in progress */ | 668 | /* Task mgmt function in progress */ |
679 | unsigned tmf_in_progress:1; | 669 | unsigned tmf_in_progress:1; |
680 | 670 | ||