crypto: chcr - Fix Smatch Complaint
authorHarsh Jain <harsh@chelsio.com>
Fri, 27 Jan 2017 10:39:12 +0000 (16:09 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2017 10:16:16 +0000 (18:16 +0800)
commit5ba042c094f9438d9441ab5f8ba75f0d121df0a1
tree32f1f221e5867f7652c3d7322161c62b33bec90b
parentd2826056cb5e4b4ddc90227b509473f71e15f011
crypto: chcr - Fix Smatch Complaint

Initialise variable after null check.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c [changed mode: 0644->0755]