Re: modules: mark __inittest/__exittest as __maybe_unused

From: Jessica Yu
Date: Mon Feb 06 2017 - 19:51:13 EST


+++ Arnd Bergmann [01/02/17 18:00 +0100]:
clang warns about unused inline functions by default:

arch/arm/crypto/aes-cipher-glue.c:68:1: warning: unused function '__inittest' [-Wunused-function]
arch/arm/crypto/aes-cipher-glue.c:69:1: warning: unused function '__exittest' [-Wunused-function]

As these appear in every single module, let's just disable the warnings by marking the
two functions as __maybe_unused.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied, thanks.

Jessica