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: v2.6.25-rc1~1227^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=03c3c70ee541c91250e2bff57211d403cb0b7055;p=linux-2.6-omap-h63xx.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 1f664ea57e5..b25d10b56c0 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;