Crypto/chcr: Fixes a coccinile check error
authorAyush Sawal <ayush.sawal@chelsio.com>
Mon, 1 Jun 2020 17:41:59 +0000 (23:11 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 22:50:26 +0000 (15:50 -0700)
commit055be6865dea6743b090d1c55c8d21a5e01df201
tree880f33035ee7abe69c2b6c79c5209534ac84f0e2
parentf3b140ad8575b74c78be50f34079e1cf43b0302d
Crypto/chcr: Fixes a coccinile check error

This fixes an error observed after running coccinile check.
drivers/crypto/chelsio/chcr_algo.c:1462:5-8: Unneeded variable:
"err". Return "0" on line 1480

This line is missed in the commit 567be3a5d227 ("crypto:
chelsio - Use multiple txq/rxq per tfm to process the requests").

Fixes: 567be3a5d227 ("crypto:
chelsio - Use multiple txq/rxq per tfm to process the requests").

V1->V2
-Modified subject.

Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chcr_algo.c