]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: jitter - Use min() to simplify jent_read_entropy()
authorThorsten Blum <thorsten.blum@toblux.com>
Mon, 19 Aug 2024 14:18:44 +0000 (16:18 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Aug 2024 10:22:30 +0000 (18:22 +0800)
commit7f60adffe531c06bacab79dbf687f0ea85fb99e8
tree4cdbc74ada0ea74183a90d23ee81f33df0faabc2
parentce3d2d6b150ba8528f3218ebf0cee2c2c572662d
crypto: jitter - Use min() to simplify jent_read_entropy()

Use the min() macro to simplify the jent_read_entropy() function and
improve its readability.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/jitterentropy.c