Skip to contentSkip to conversation

kill use_blk_tcq template flag

PATCH New Christoph Hellwig 1 participant 1 message Sep 20, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/scsi/53c700.c +0 -1
diff -Nru a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c
@@ -281,7 +281,6 @@
 	tpnt->use_clustering = DISABLE_CLUSTERING;
 	tpnt->slave_configure = NCR_700_slave_configure;
 	tpnt->slave_destroy = NCR_700_slave_destroy;
-	tpnt->use_blk_tcq = 1;
 	
 	if(tpnt->name == NULL)
 		tpnt->name = "53c700";
drivers/scsi/hosts.c +0 -1
diff -Nru a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
@@ -236,7 +236,6 @@
 	shost->cmd_per_lun = sht->cmd_per_lun;
 	shost->unchecked_isa_dma = sht->unchecked_isa_dma;
 	shost->use_clustering = sht->use_clustering;
-	shost->use_blk_tcq = sht->use_blk_tcq;
 
 	if (sht->max_host_blocked)
 		shost->max_host_blocked = sht->max_host_blocked;
include/scsi/scsi_host.h +0 -6
diff -Nru a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
@@ -312,12 +312,6 @@
 	 */
 	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
 	 */