summaryrefslogtreecommitdiff
path: root/drivers/scsi/ata_piix.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-02-12 23:32:59 +0900
committerJeff Garzik <jgarzik@pobox.com>2006-02-12 14:36:30 -0500
commit49430f97dd952eda60848bf6bf161b4917ba103d (patch)
tree2106e80496d6fa3b0ba8819daa6d978f8c4e13f3 /drivers/scsi/ata_piix.c
parentb00eec1d58ee71131375bfeb86e64bceec3f5618 (diff)
downloadlwn-49430f97dd952eda60848bf6bf161b4917ba103d.tar.gz
lwn-49430f97dd952eda60848bf6bf161b4917ba103d.zip
[PATCH] libata: kill sht->max_sectors
The previous dev->max_sectors patch made sht->max_sectors meaningless. Kill all initializations of sht->max_sectors. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/ata_piix.c')
-rw-r--r--drivers/scsi/ata_piix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c
index 8e0529601730..4cc1108f721a 100644
--- a/drivers/scsi/ata_piix.c
+++ b/drivers/scsi/ata_piix.c
@@ -185,7 +185,6 @@ static struct scsi_host_template piix_sht = {
.can_queue = ATA_DEF_QUEUE,
.this_id = ATA_SHT_THIS_ID,
.sg_tablesize = LIBATA_MAX_PRD,
- .max_sectors = ATA_MAX_SECTORS,
.cmd_per_lun = ATA_SHT_CMD_PER_LUN,
.emulated = ATA_SHT_EMULATED,
.use_clustering = ATA_SHT_USE_CLUSTERING,