mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
3ca73b70a3
commit
8a656a48f7
1 changed files with 1 additions and 1 deletions
|
@ -1757,7 +1757,7 @@ static int chcr_ahash_final(struct ahash_request *req)
|
|||
struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm));
|
||||
struct chcr_context *ctx = h_ctx(rtfm);
|
||||
u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm));
|
||||
int error = -EINVAL;
|
||||
int error;
|
||||
unsigned int cpu;
|
||||
|
||||
cpu = get_cpu();
|
||||
|
|
Loading…
Add table
Reference in a new issue