summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-07-03 00:23:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-05 16:21:44 +0100
commit01ec4a2e8f01f027a0f06cad237c935da8d643bf (patch)
tree4a42dcb07670fd9c0da29fd93809144ba6f2f7d0 /drivers
parent66b13ce8fe25341a8c4c8ceb00d611461ad86dcc (diff)
downloadlinux-01ec4a2e8f01f027a0f06cad237c935da8d643bf.tar.bz2
headers/deps: USB: Optimize <linux/usb/ch9.h> dependencies, remove <linux/device.h>
The <linux/usb/ch9.h> header is used over 1,400 times in a typical distro build, but few of its users actually need the full <linux/device.h> header. -------------------------------------------------------------------- | Combined, preprocessed C code size of header, without line markers, | with comments stripped: ------------------------- before: | #include <linux/usb/ch9.h> | LOC: 7,078 | headers: 172 after: | #include <linux/usb/ch9.h> | LOC: 812 | headers: 38 Remove it and add it to the places that need it. Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions