diff options
| author | Rikard Falkeborn <[email protected]> | 2020-06-11 00:47:01 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-06-29 18:39:45 +0200 |
| commit | 0e3a52ba93ffce737c7a2418ce6592152787d148 (patch) | |
| tree | 49d337574222441c93f694fe301ad276e4340f66 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f08387903d949b760ed2abdde85fe6f45961a392 (diff) | |
misc: rtsx_usb: Constify struct usb_device_id
rtsx_usb_usb_ids is never modified and can therefore be made const to
allow the compiler to put it in read-only memory.
Before:
text data bss dec hex filename
21513 4160 128 25801 64c9 drivers/misc/cardreader/rtsx_usb.o
After:
text data bss dec hex filename
21673 4000 128 25801 64c9 drivers/misc/cardreader/rtsx_usb.o
Signed-off-by: Rikard Falkeborn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions