OSDN Git Service

usbredir: reorder fields in USBRedirDevice to reduce padding
authorzhenwei.pi <zhenwei.pi@youruncloud.com>
Tue, 6 Mar 2018 06:46:21 +0000 (14:46 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 12 Mar 2018 10:43:49 +0000 (11:43 +0100)
commitc7ac1ab0201d47d12b75e1c98d79869bcdad5732
tree39c07ac88dd096bf149f502096ac04c5f682f9b7
parente4ae62b802cec437f877f2cadc4ef059cc0eca76
usbredir: reorder fields in USBRedirDevice to reduce padding

Changing the current ordering saves 8 bytes per entry in x86_64.

Signed-off-by: zhenwei.pi <zhenwei.pi@youruncloud.com>
Message-id: 1520318781-22644-1-git-send-email-zhenwei.pi@youruncloud.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/redirect.c