projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb72463
)
virtio-scsi: remove empty wrapper for cmd
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 11 Mar 2015 14:10:09 +0000
(15:10 +0100)
committer
Michael S. Tsirkin
<mst@redhat.com>
Wed, 11 Mar 2015 17:24:30 +0000
(18:24 +0100)
The anonymous struct only has a single field now, drop the wrapper
structure.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
include/hw/virtio/virtio-scsi.h
patch
|
blob
|
history
diff --git
a/include/hw/virtio/virtio-scsi.h
b/include/hw/virtio/virtio-scsi.h
index e3f27a69954ddb3ec92ed6f95105f94315a09e63..f93b57d3e9729d77622d017fcfa892ee4cebdc49 100644
(file)
--- a/
include/hw/virtio/virtio-scsi.h
+++ b/
include/hw/virtio/virtio-scsi.h
@@
-134,9
+134,7
@@
typedef struct VirtIOSCSIReq {
VirtIOSCSIEvent event;
} resp;
union {
- struct {
- VirtIOSCSICmdReq cmd;
- } QEMU_PACKED;
+ VirtIOSCSICmdReq cmd;
VirtIOSCSICtrlTMFReq tmf;
VirtIOSCSICtrlANReq an;
} req;