diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-01 20:22:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-19 17:00:34 +0300 |
commit | 8e6b85945155da5af95dc0fa58ae38b86428deea (patch) | |
tree | d1c21953d9c5e3018baec98d6cc76bd24c6b1771 /drivers/usb/usbip/vhci_hcd.c | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-8e6b85945155da5af95dc0fa58ae38b86428deea.tar.xz |
USB: usb.h: tweak struct urb to remove wasted space
By moving one field around in 'struct urb' we reduce the size of the
structure by 8 bytes.
Before the patch on x86_64 the overall size of the structure as reported
by pahole was:
/* size: 192, cachelines: 3, members: 30 */
/* sum members: 184, holes: 2, sum holes: 8 */
After the patch we now have:
/* size: 184, cachelines: 3, members: 30 */
/* last cacheline: 56 bytes */
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/vhci_hcd.c')
0 files changed, 0 insertions, 0 deletions