]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/crypto/chelsio/chcr_algo.c
crypto: chelsio - remove redundant assignment to variable error
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Apr 2020 22:49:47 +0000 (23:49 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Apr 2020 07:42:16 +0000 (17:42 +1000)
commit8a656a48f75f193b901efe14326663505874c37a
treea9e5ecd6fa7a33d6960d7b0691b2c314c3e6afa9
parent3ca73b70a3a98da739f4ebcff381d13bb7cd339f
crypto: chelsio - remove redundant assignment to variable error

The variable error is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c