diff options
author | Mark Cave-Ayland | 2017-09-24 16:47:40 +0200 |
---|---|---|
committer | David Gibson | 2017-09-27 05:05:41 +0200 |
commit | 2bb4a98f905db2d010f42ddd23db3a6d5d7d18c9 (patch) | |
tree | d903dd4949d18ebf304d204fa3fbc7c1c5d0c89b /include/hw/ppc/mac_dbdma.h | |
parent | spapr: fix the value of SDR1 in kvmppc_put_books_sregs() (diff) | |
download | qemu-2bb4a98f905db2d010f42ddd23db3a6d5d7d18c9.tar.gz qemu-2bb4a98f905db2d010f42ddd23db3a6d5d7d18c9.tar.xz qemu-2bb4a98f905db2d010f42ddd23db3a6d5d7d18c9.zip |
mac_dbdma: remove unused IO fields from DBDMAState
These fields were used to manually handle IO requests that weren't aligned
to a sector boundary before this feature was supported by the block API.
Once the block API changed to support byte-aligned IO requests, the macio
controller was switched over to use it in commit be1e343 but these fields
were accidentally left behind. Remove them, including the initialisation
in DBDMA_init().
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/mac_dbdma.h')
-rw-r--r-- | include/hw/ppc/mac_dbdma.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/ppc/mac_dbdma.h b/include/hw/ppc/mac_dbdma.h index a8603877d7..21bd66f3c9 100644 --- a/include/hw/ppc/mac_dbdma.h +++ b/include/hw/ppc/mac_dbdma.h @@ -42,10 +42,6 @@ struct DBDMA_io { DBDMA_end dma_end; /* DMA is in progress, don't start another one */ bool processing; - /* unaligned last sector of a request */ - uint8_t head_remainder[0x200]; - uint8_t tail_remainder[0x200]; - QEMUIOVector iov; /* DMA request */ void *dma_mem; dma_addr_t dma_len; |