Thread (4 messages) 4 messages, 3 authors, 2026-03-27

Re: [PATCH 1/2] crypto: stm32 - use list_first_entry_or_null to simplify hash_find_dev

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2026-03-27 10:08:44
Also in: linux-crypto, lkml

On Fri, Mar 20, 2026 at 09:49:13AM +0100, Thorsten Blum wrote:
Use list_first_entry_or_null() to simplify stm32_hash_find_dev() and
remove the now-unused local variable 'struct stm32_hash_dev *tmp'.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 drivers/crypto/stm32/stm32-hash.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)
All applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help