Commit 621c48c3 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by James Bottomley

[PATCH] kill use_blk_tcq template flag

The flag isn't checked ever as drivers using the block layer tcq
code do so by themselves, without any interaction to the scsi midlayer.
parent 41f1f686
...@@ -280,7 +280,6 @@ NCR_700_detect(Scsi_Host_Template *tpnt, ...@@ -280,7 +280,6 @@ NCR_700_detect(Scsi_Host_Template *tpnt,
tpnt->use_clustering = DISABLE_CLUSTERING; tpnt->use_clustering = DISABLE_CLUSTERING;
tpnt->slave_configure = NCR_700_slave_configure; tpnt->slave_configure = NCR_700_slave_configure;
tpnt->slave_destroy = NCR_700_slave_destroy; tpnt->slave_destroy = NCR_700_slave_destroy;
tpnt->use_blk_tcq = 1;
if(tpnt->name == NULL) if(tpnt->name == NULL)
tpnt->name = "53c700"; tpnt->name = "53c700";
......
...@@ -238,7 +238,6 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) ...@@ -238,7 +238,6 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)
shost->cmd_per_lun = sht->cmd_per_lun; shost->cmd_per_lun = sht->cmd_per_lun;
shost->unchecked_isa_dma = sht->unchecked_isa_dma; shost->unchecked_isa_dma = sht->unchecked_isa_dma;
shost->use_clustering = sht->use_clustering; shost->use_clustering = sht->use_clustering;
shost->use_blk_tcq = sht->use_blk_tcq;
if (sht->max_host_blocked) if (sht->max_host_blocked)
shost->max_host_blocked = sht->max_host_blocked; shost->max_host_blocked = sht->max_host_blocked;
......
...@@ -312,12 +312,6 @@ struct scsi_host_template { ...@@ -312,12 +312,6 @@ struct scsi_host_template {
*/ */
unsigned emulated:1; unsigned emulated:1;
/*
* True if the driver wishes to use the generic block layer
* tag queueing functions
*/
unsigned use_blk_tcq:1;
/* /*
* Countdown for host blocking with no commands outstanding * Countdown for host blocking with no commands outstanding
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment