qemu/hw/ide
Blue Swirl cdfe17df88 ahci: delete write-only variables (v2)
Avoid these warnings with GCC 4.6.0:
/src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port':
/src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set but not used [-Werror=unused-but-set-variable]
/src/qemu/hw/ide/ahci.c: In function 'handle_cmd':
/src/qemu/hw/ide/ahci.c:1103:19: error: variable 'pr' set but not used [-Werror=unused-but-set-variable]

In the tfd variable case, fix the logic also.

CC: Alexander Graf <agraf@suse.de>
CC: Kevin Wolf <kwolf@redhat.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-12-19 10:43:09 +00:00
..
ahci.c ahci: delete write-only variables (v2) 2010-12-19 10:43:09 +00:00
cmd646.c ide: Fix build for cmd646.c 2010-12-17 19:57:21 +01:00
core.c ide: honor ncq for atapi 2010-12-17 16:11:03 +01:00
internal.h ide: add ncq identify data for ahci sata drives 2010-12-17 16:11:02 +01:00
isa.c Store IDE bus id in IDEBus structure for easy access. 2010-12-11 21:27:47 +00:00
macio.c Add endianness as io mem parameter 2010-12-11 15:24:25 +00:00
microdrive.c Merge remote branch 'kwolf/for-anthony' into staging 2010-07-06 10:48:01 -05:00
mmio.c Add endianness as io mem parameter 2010-12-11 15:24:25 +00:00
pci.c ide: Split out BMDMA code from ATA core 2010-12-17 16:11:01 +01:00
pci.h ide: Split out BMDMA code from ATA core 2010-12-17 16:11:01 +01:00
piix.c ide: Register vm change state handler once only 2010-12-17 16:11:03 +01:00
qdev.c Add bootindex parameter to net/block/fd device 2010-12-11 21:32:46 +00:00
via.c ide: Build fix for via.c 2010-12-17 19:57:26 +01:00