diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:32 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 07:46:32 -0400 |
commit | e3d9a73a83d98fc466dabdcfe4f4e7e4419e3f8e (patch) | |
tree | 3a93a8eca3800bafe5aeaf6a469fb3af05739c44 /include/linux/ide.h | |
parent | 5e76acd588c125fbd37390e44868dcb07cadbe4a (diff) |
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>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 83bed2f4378a..146b07a9b649 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -768,9 +768,6 @@ typedef struct hwif_s { | |||
768 | int orig_sg_nents; | 768 | int orig_sg_nents; |
769 | int sg_dma_direction; /* dma transfer direction */ | 769 | int sg_dma_direction; /* dma transfer direction */ |
770 | 770 | ||
771 | /* data phase of the active command (currently only valid for PIO/DMA) */ | ||
772 | int data_phase; | ||
773 | |||
774 | struct ide_task_s task; /* current command */ | 771 | struct ide_task_s task; /* current command */ |
775 | 772 | ||
776 | unsigned int nsect; | 773 | unsigned int nsect; |