[PATCH] hwrng: atmel - drop __maybe_unused from atmel_trng_pm_ops
Herbert Xu
herbert at gondor.apana.org.au
Sat Jul 4 22:31:57 PDT 2026
On Sat, Jun 06, 2026 at 03:17:54PM +0200, Thorsten Blum wrote:
> Since atmel_trng_driver keeps atmel_trng_pm_ops referenced and pm_ptr()
> uses IS_ENABLED(), which allows the compiler to optimize away unused
> variables, drop the redundant __maybe_unused annotation.
>
> Signed-off-by: Thorsten Blum <thorsten.blum at linux.dev>
> ---
> drivers/char/hw_random/atmel-rng.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list