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>
This commit is contained in:
parent
5e76acd588
commit
e3d9a73a83
5 changed files with 10 additions and 21 deletions
|
@ -768,9 +768,6 @@ typedef struct hwif_s {
|
|||
int orig_sg_nents;
|
||||
int sg_dma_direction; /* dma transfer direction */
|
||||
|
||||
/* data phase of the active command (currently only valid for PIO/DMA) */
|
||||
int data_phase;
|
||||
|
||||
struct ide_task_s task; /* current command */
|
||||
|
||||
unsigned int nsect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue