summaryrefslogtreecommitdiffstats
path: root/hw/ide/ahci.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-09-08 21:44:15 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-12 15:17:22 +0200
commit847f171e6ac0c1a9b24e695e3496b140ec265b2c (patch)
treed083206d781106edf1e2bfb5cdfaedc872e36697 /hw/ide/ahci.h
parent05140499d38154df942048109ad78421ae3fd43a (diff)
downloadhqemu-847f171e6ac0c1a9b24e695e3496b140ec265b2c.zip
hqemu-847f171e6ac0c1a9b24e695e3496b140ec265b2c.tar.gz
ahci: Remove unused struct member
Member variable is_read is written, but never read (contrary to its name). Remove it. Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/ahci.h')
-rw-r--r--hw/ide/ahci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h
index 3c29d93..5de986c 100644
--- a/hw/ide/ahci.h
+++ b/hw/ide/ahci.h
@@ -259,7 +259,6 @@ typedef struct NCQTransferState {
BlockDriverAIOCB *aiocb;
QEMUSGList sglist;
BlockAcctCookie acct;
- int is_read;
uint16_t sector_count;
uint64_t lba;
uint8_t tag;
OpenPOWER on IntegriCloud