diff options
| author | Rikard Falkeborn <[email protected]> | 2020-06-11 00:47:04 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-06-29 18:39:44 +0200 |
| commit | 8374680ff2eb01a58314562c895b119c75c53c2a (patch) | |
| tree | 6cab2cabbb9e2af190a68d3995ce026a801ae0cd /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 68daf1dffad28f1d12e76358920d7d09d4371b52 (diff) | |
mic: vop: Constify static structs
vop_vq_config_ops and id_table[] are never modified so make them const
to allow the compiler to put them in read-only memory.
Before:
text data bss dec hex filename
14889 4065 192 19146 4aca drivers/misc/mic/vop/vop_main.o
After:
text data bss dec hex filename
15113 3841 192 19146 4aca drivers/misc/mic/vop/vop_main.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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions