chcr: remove unused variables net_device, pi, adap and cntrl
authorColin Ian King <colin.king@canonical.com>
Thu, 30 Nov 2017 14:11:44 +0000 (14:11 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 Dec 2017 11:36:59 +0000 (22:36 +1100)
commit267469ea65fd2ef5412177b3269811adfde5a29d
treeba7f6eefdb73d27a48e8e162a7577aa27f61ec34
parent8579e0767c230f25f8abc71d4e99eba6754d3766
chcr: remove unused variables net_device, pi, adap and cntrl

Variables adap, pi and cntrl are assigned but are never read, hence
they are redundant and can be removed.

Cleans up various clang build warnings.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_ipsec.c