| commit | 21d535c91362a1a3bbb299b2e7214c1a6971ef95 | [log] [tgz] |
|---|---|---|
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Jan 25 22:17:09 2008 +0100 |
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Jan 25 22:17:09 2008 +0100 |
| tree | 0f9cd3b473caec8d926770ba565b2e8261c289bd | |
| parent | 6dd87233bccc6416dac3b78ac912fd017918efe6 [diff] |
ide: execute_drive_cmd() cleanup
* Rename 'args' variable in 'if (rq->cmd_type == REQ_TYPE_ATA_TASKFILE)'
block to 'task'.
* execute_drive_cmd() is used only for REQ_TYPE_ATA_{CMD,TASK,TASKFILE} so
we can move the common code out from 'if (rq->cmd_type == REQ_TYPE_ATA_CMD)'
and 'if (rq->cmd_type == REQ_TYPE_ATA_TASK)' blocks.
There should be no functionality changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>