diff options
| author | Nathan Huckleberry <[email protected]> | 2019-06-13 18:26:10 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2019-06-14 16:02:02 +0000 |
| commit | 76ce48bdb303afa6e33cfbadca9d6bee23a4f559 (patch) | |
| tree | ac791966328d83abdcdb9c11366d49b689249d6f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | Linux 5.2-rc1 (diff) | |
| download | kernel-76ce48bdb303afa6e33cfbadca9d6bee23a4f559.tar.gz kernel-76ce48bdb303afa6e33cfbadca9d6bee23a4f559.zip | |
memory: tegra: Fix -Wunused-const-variable
Clang produces the following warning
drivers/memory/tegra/tegra124.c:36:28: warning: unused variable
'tegra124_mc_emem_regs' [-Wunused-const-variable]
static const unsigned long tegra124_mc_emem_regs[] = {
^
The only usage of this variable is from within an ifdef.
It seems logical to move the variable into the ifdef as well.
Cc: [email protected]
Link: https://github.com/ClangBuiltLinux/linux/issues/526
Signed-off-by: Nathan Huckleberry <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
