diff options
| author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-07-01 22:09:48 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-09 18:25:21 +1000 |
| commit | a024d70ae29825b117f2c80c53345053f074cdc1 (patch) | |
| tree | 74b5b1a0d7b2f302a0056e3be6ac188506ec1ed0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | hwrng: nomadik - Constify nmk_rng_ids[] (diff) | |
| download | linux-a024d70ae29825b117f2c80c53345053f074cdc1.tar.gz linux-a024d70ae29825b117f2c80c53345053f074cdc1.zip | |
hwrng: virtio - Constify id_table[]
id_table[] is not modified and an be made const to allow the compiler to
put it in read-only memory.
Before:
text data bss dec hex filename
1746 192 8 1946 79a drivers/char/hw_random/virtio-rng.o
After:
text data bss dec hex filename
1762 176 8 1946 79a drivers/char/hw_random/virtio-rng.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
