aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-07-30 17:46:06 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-08-09 18:34:57 +0000
commit832a226b62c6bf75c57ec3ae4d6964923d2aabcd (patch)
treeb88095c06d402078e3be3784ac479dc764b90037 /hw
parenta1e64eb96cfa6b9ddf947487347e5a2ca139629f (diff)
downloadqemu-832a226b62c6bf75c57ec3ae4d6964923d2aabcd.zip
qemu-832a226b62c6bf75c57ec3ae4d6964923d2aabcd.tar.gz
qemu-832a226b62c6bf75c57ec3ae4d6964923d2aabcd.tar.bz2
scsi-bus: remove overlapping entry
LOAD_UNLOAD and START_STOP have same value, so the table entry is initialized twice. Spotted by Clang compiler. Remove LOAD_UNLOAD entry since START_STOP entry already represents both. Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/scsi-bus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index 6120cc8..b8a857d 100644
--- a/hw/scsi-bus.c
+++ b/hw/scsi-bus.c
@@ -1437,7 +1437,6 @@ static const char *scsi_command_name(uint8_t cmd)
[ ATA_PASSTHROUGH_12 ] = "BLANK/ATA_PASSTHROUGH_12",
[ MOVE_MEDIUM ] = "MOVE_MEDIUM",
[ EXCHANGE_MEDIUM ] = "EXCHANGE MEDIUM",
- [ LOAD_UNLOAD ] = "LOAD_UNLOAD",
[ READ_12 ] = "READ_12",
[ WRITE_12 ] = "WRITE_12",
[ ERASE_12 ] = "ERASE_12/GET_PERFORMANCE",