diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2024-10-16 11:15:16 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-19 09:57:03 +0200 |
| commit | b8989f45d1ec0b5e1aac5da2a915f8002015eb39 (patch) | |
| tree | 0bcddf1a4d39537922f5301da82c05aec71bea4f /tools/perf/scripts/python/stackcollapse.py | |
| parent | staging: gpib: add module descriptions (diff) | |
| download | linux-b8989f45d1ec0b5e1aac5da2a915f8002015eb39.tar.gz linux-b8989f45d1ec0b5e1aac5da2a915f8002015eb39.zip | |
staging: gpib: avoid unused const variables
Variables that are 'static const' but not used anywhere cause a warning
with "gcc -Wunused-const-variable", which we may want to enable by default
in the future.
The gpib code already has a mix of 'enum' and 'static const' variables
for named constants, so convert the ones that are causing problems to
enums as well, or move them closer to the only users where possible.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241016111521.1143191-3-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
