aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorNathan Huckleberry <[email protected]>2019-06-13 11:26:10 -0700
committerThierry Reding <[email protected]>2019-06-14 18:02:02 +0200
commit76ce48bdb303afa6e33cfbadca9d6bee23a4f559 (patch)
treeac791966328d83abdcdb9c11366d49b689249d6f /net/lapb/lapb_iface.c
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (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: [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 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions