crypto: drivers - remove conditional return with no effect

Both branches of the check return the same value, so the check has
no effect. Remove it and return the value directly.

This is the result of running the Coccinelle script from
scripts/coccinelle/misc/cond_return_no_effect.cocci.

Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Sang-Heon Jeon 2026-07-24 03:45:20 +09:00 • committed by Herbert Xu
commit 57e599da2d
2 changed files with 3 additions and 12 deletions