crypto: skcipher - remove redundant check for SKCIPHER_WALK_SLOW
authorEric Biggers <ebiggers@google.com>
Sun, 5 Jan 2025 19:34:12 +0000 (11:34 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jan 2025 03:38:32 +0000 (11:38 +0800)
commit24300d282f7e60ee407c7a6ec8e316b8b9fd570d
treeaf7ad627318214682bb95ca7021a40bba45e8b0e
parenta22a2316be227f8d85a6c8abe4bd568bfeb0233c
crypto: skcipher - remove redundant check for SKCIPHER_WALK_SLOW

In skcipher_walk_done(), remove the check for SKCIPHER_WALK_SLOW because
it is always true.  All other flags (and lack thereof) were checked
earlier in the function, leaving SKCIPHER_WALK_SLOW as the only
remaining possibility.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/skcipher.c