ide: remove ->data_phase field from ide_hwif_t
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:32 +0000 (12:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:32 +0000 (12:46 +0100)
commite3d9a73a83d98fc466dabdcfe4f4e7e4419e3f8e
tree3a93a8eca3800bafe5aeaf6a469fb3af05739c44
parent5e76acd588c125fbd37390e44868dcb07cadbe4a
ide: remove ->data_phase field from ide_hwif_t

* Always use hwif->task->data_phase and remove ->data_phase
  field from ide_hwif_t.

* Remove superfluous REQ_TYPE_ATA_TASKFILE check from
  ide_pio_datablock() while at it.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-disk.c
drivers/ide/ide-io.c
drivers/ide/ide-park.c
drivers/ide/ide-taskfile.c
include/linux/ide.h