aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-lib.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:11 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:11 -0500
commit29ed2a5f8c4380959f18e9cbaff13bc61e09889c (patch)
treea248e118820c47d8286808643d42fcecd72e978e /drivers/ide/ide-lib.c
parent14b89ef9814614f18a1fcae51e601e7e16a82ef7 (diff)
ide: remove REQ_TYPE_ATA_TASK
Based on the earlier work by Tejun Heo. All users are gone so we can finally remove it. Cc: Tejun Heo <htejun@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-lib.c')
-rw-r--r--drivers/ide/ide-lib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-lib.c b/drivers/ide/ide-lib.c
index 6dbf2af0d215..3bae2c46924f 100644
--- a/drivers/ide/ide-lib.c
+++ b/drivers/ide/ide-lib.c
@@ -458,8 +458,7 @@ static void ide_dump_opcode(ide_drive_t *drive)
458 spin_unlock(&ide_lock); 458 spin_unlock(&ide_lock);
459 if (!rq) 459 if (!rq)
460 return; 460 return;
461 if (rq->cmd_type == REQ_TYPE_ATA_CMD || 461 if (rq->cmd_type == REQ_TYPE_ATA_CMD) {
462 rq->cmd_type == REQ_TYPE_ATA_TASK) {
463 char *args = rq->buffer; 462 char *args = rq->buffer;
464 if (args) { 463 if (args) {
465 opcode = args[0]; 464 opcode = args[0];