mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
ahci: Remove unused AHCIDevice fields
'dma_status' and 'dma_cb' are written to, but never read. Remove these fields in preparation for AHCI migration bits. Signed-off-by: Jason Baron <jbaron@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
1b09524455
commit
1147bb15a7
2 changed files with 2 additions and 8 deletions
|
@ -281,11 +281,9 @@ struct AHCIDevice {
|
|||
QEMUBH *check_bh;
|
||||
uint8_t *lst;
|
||||
uint8_t *res_fis;
|
||||
int dma_status;
|
||||
int done_atapi_packet;
|
||||
int busy_slot;
|
||||
int init_d2h_sent;
|
||||
BlockDriverCompletionFunc *dma_cb;
|
||||
AHCICmdHdr *cur_cmd;
|
||||
NCQTransferState ncq_tfs[AHCI_MAX_CMDS];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue