aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/ahci.h
diff options
context:
space:
mode:
authorJason Baron <jbaron@redhat.com>2013-01-04 14:44:41 -0500
committerKevin Wolf <kwolf@redhat.com>2013-01-25 18:18:36 +0100
commit1147bb15a715a907a91195c2ed601fc926e43d46 (patch)
treeb7a641f5ab9efbc814665218318c8c85f864efd3 /hw/ide/ahci.h
parent1b0952445522af73b0e78420a9078b3653923703 (diff)
downloadqemu-1147bb15a715a907a91195c2ed601fc926e43d46.zip
qemu-1147bb15a715a907a91195c2ed601fc926e43d46.tar.gz
qemu-1147bb15a715a907a91195c2ed601fc926e43d46.tar.bz2
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>
Diffstat (limited to 'hw/ide/ahci.h')
-rw-r--r--hw/ide/ahci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h
index 1200a56..735b379 100644
--- a/hw/ide/ahci.h
+++ b/hw/ide/ahci.h
@@ -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];
};