crypto: jitter - replace ARRAY_SIZE definition with header include
authorRuben Wauters <rubenru09@aol.com>
Sun, 13 Jul 2025 13:13:50 +0000 (14:13 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jul 2025 10:52:01 +0000 (20:52 +1000)
commit4fec76bcc5357fb10f2f69c1bf1e163db93616f1
tree0a20e06914207f5f5f2bb692c6a2d1d600831e2c
parent5eb32430df783e212ffed8d35cc494a8941cda0a
crypto: jitter - replace ARRAY_SIZE definition with header include

The ARRAY_SIZE macro is already defined in linux/array_size.h

This patch replaces the ARRAY_SIZE definition in jitterentropy.c with
an include, to make the code cleaner, and help reduce the number of
duplicate ARRAY_SIZE definitions in the codebase.

Signed-off-by: Ruben Wauters <rubenru09@aol.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/jitterentropy.c