diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 20:13:11 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 20:13:11 +0100 |
commit | 03c3c70ee541c91250e2bff57211d403cb0b7055 (patch) | |
tree | 04858454e3239cad800f5777a054f29cf4f4c3e3 /drivers/ide/ide-taskfile.c | |
parent | 657cc1a8f6cd6a9e2974cba3af9fccd8c25e06ad (diff) | |
download | op-kernel-dev-03c3c70ee541c91250e2bff57211d403cb0b7055.zip op-kernel-dev-03c3c70ee541c91250e2bff57211d403cb0b7055.tar.gz |
ide: remove needless ->cursg clearing from task_end_request()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 1f664ea..b25d10b 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c @@ -410,8 +410,6 @@ static ide_startstop_t task_error(ide_drive_t *drive, struct request *rq, static void task_end_request(ide_drive_t *drive, struct request *rq, u8 stat) { - HWIF(drive)->cursg = NULL; - if (rq->cmd_type == REQ_TYPE_ATA_TASKFILE) { ide_task_t *task = rq->special; |