[PATCH 2/2] crypto: stm32 - use list_first_entry_or_null to simplify cryp_find_dev
Kees Cook
kees at kernel.org
Fri Mar 20 11:26:00 PDT 2026
On Fri, Mar 20, 2026 at 09:49:14AM +0100, Thorsten Blum wrote:
> Use list_first_entry_or_null() to simplify stm32_cryp_find_dev() and
> remove the now-unused local variable 'struct stm32_cryp *tmp'.
>
> Signed-off-by: Thorsten Blum <thorsten.blum at linux.dev>
Reviewed-by: Kees Cook <kees at kernel.org>
--
Kees Cook
More information about the linux-arm-kernel
mailing list