]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwrng: optee - simplify OP-TEE context match
authorRouven Czerwinski <rouven.czerwinski@linaro.org>
Mon, 26 Jan 2026 10:11:25 +0000 (11:11 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Feb 2026 10:52:22 +0000 (18:52 +0800)
commit3cd3059af122faa3cc58dddacbc86d46e654c757
treec963ca1475ac5f9be273283a6bb2933b732cfae8
parent90f7520b76fab89852287d78ed7919a647c68c1d
hwrng: optee - simplify OP-TEE context match

Simplify the TEE implementor ID match by returning the boolean
expression directly instead of going through an if/else.

Signed-off-by: Rouven Czerwinski <rouven.czerwinski@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/optee-rng.c