From: Bartlomiej Zolnierkiewicz Date: Sat, 26 Jan 2008 19:13:11 +0000 (+0100) Subject: ide: remove needless ->cursg clearing from task_end_request() X-Git-Tag: v3.12-rc1~24118^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03c3c70ee541c91250e2bff57211d403cb0b7055;p=kernel%2Fkernel-generic.git ide: remove needless ->cursg clearing from task_end_request() Signed-off-by: Bartlomiej Zolnierkiewicz --- 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;