diff options
-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 1f664ea57e58..b25d10b56c0d 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, | |||
410 | 410 | ||
411 | static void task_end_request(ide_drive_t *drive, struct request *rq, u8 stat) | 411 | static void task_end_request(ide_drive_t *drive, struct request *rq, u8 stat) |
412 | { | 412 | { |
413 | HWIF(drive)->cursg = NULL; | ||
414 | |||
415 | if (rq->cmd_type == REQ_TYPE_ATA_TASKFILE) { | 413 | if (rq->cmd_type == REQ_TYPE_ATA_TASKFILE) { |
416 | ide_task_t *task = rq->special; | 414 | ide_task_t *task = rq->special; |
417 | 415 | ||