diff options
author | Nathan Huckleberry | 2019-06-13 11:26:10 -0700 |
---|---|---|
committer | Thierry Reding | 2019-06-14 18:02:02 +0200 |
commit | 76ce48bdb303afa6e33cfbadca9d6bee23a4f559 (patch) | |
tree | ac791966328d83abdcdb9c11366d49b689249d6f /drivers/soc | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
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: clang-built-linux@googlegroups.com
Link: https://github.com/ClangBuiltLinux/linux/issues/526
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions