summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 9f8b07029..223a770f7 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2173,11 +2173,7 @@ static int ata_dev_config_ncq(struct ata_device *dev,
return 0;
}
if (ap->flags & ATA_FLAG_NCQ) {
-#ifdef CONFIG_PCK_INTERACTIVE
- hdepth = min(ap->scsi_host->can_queue, 8);
-#else
hdepth = min(ap->scsi_host->can_queue, ATA_MAX_QUEUE - 1);
-#endif
dev->flags |= ATA_DFLAG_NCQ;
}