mirror of https://github.com/xemu-project/xemu.git
virtio-scsi: remove empty wrapper for cmd
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>
This commit is contained in:
parent
bb72463bc8
commit
18bf9e2f37
|
@ -134,9 +134,7 @@ typedef struct VirtIOSCSIReq {
|
||||||
VirtIOSCSIEvent event;
|
VirtIOSCSIEvent event;
|
||||||
} resp;
|
} resp;
|
||||||
union {
|
union {
|
||||||
struct {
|
VirtIOSCSICmdReq cmd;
|
||||||
VirtIOSCSICmdReq cmd;
|
|
||||||
} QEMU_PACKED;
|
|
||||||
VirtIOSCSICtrlTMFReq tmf;
|
VirtIOSCSICtrlTMFReq tmf;
|
||||||
VirtIOSCSICtrlANReq an;
|
VirtIOSCSICtrlANReq an;
|
||||||
} req;
|
} req;
|
||||||
|
|
Loading…
Reference in New Issue