]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/crypto/chelsio/chcr_algo.c
crypto: chelsio - remove redundant assignment to variable error
[mirror_ubuntu-hirsute-kernel.git] / drivers / crypto / chelsio / chcr_algo.c
index c29b80dd30d86c5a332654fdb6f5748883d497a8..5d3000fdd5f44c31f3dc6d14e308be0bc5559ad4 100644 (file)
@@ -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();