summaryrefslogtreecommitdiff
path: root/crypto/dh.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-04-26 16:56:03 +0200
committerThierry Reding <treding@nvidia.com>2019-05-08 14:40:39 +0200
commit6d6165603e162e3d391f35853a4ab232ab0db064 (patch)
treea51f1087ffdc0f6a22a68078a3fd42d4cdb57508 /crypto/dh.c
parent1427736e64c3a8b513cd984332f596055a7ca196 (diff)
amba: tegra-ahb: Mark PM functions as __maybe_unused
clang warns about an unused variable when CONFIG_PM is disabled, since it is only referenced from an #ifdef: drivers/amba/tegra-ahb.c:97:18: error: variable 'tegra_ahb_gizmo' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] Rather than trying to get the #ifdef right, remove it and use __maybe_unused here, which is less error prone. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'crypto/dh.c')
0 files changed, 0 insertions, 0 deletions