Commit 18bf9e2f authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

virtio-scsi: remove empty wrapper for cmd



The anonymous struct only has a single field now, drop the wrapper
structure.

Suggested-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent bb72463b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -134,9 +134,7 @@ typedef struct VirtIOSCSIReq {
        VirtIOSCSIEvent       event;
    } resp;
    union {
        struct {
        VirtIOSCSICmdReq      cmd;
        } QEMU_PACKED;
        VirtIOSCSICtrlTMFReq  tmf;
        VirtIOSCSICtrlANReq   an;
    } req;