OSDN Git Service

crypto: chelsio - remove set but not used variables 'adap'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 28 Dec 2018 06:53:53 +0000 (06:53 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jan 2019 06:16:56 +0000 (14:16 +0800)
commite12468241b19653d87534f3ff0778f1ad4668f5e
treebf6b58ad8077507ba76d88565aa752c533ab508e
parent66af86d93ce32ff5b262ace9a6696873cc1bdb3e
crypto: chelsio - remove set but not used variables 'adap'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/crypto/chelsio/chcr_algo.c: In function 'chcr_device_init':
drivers/crypto/chelsio/chcr_algo.c:1371:18: warning:
 variable 'adap' set but not used [-Wunused-but-set-variable]

It not used since commit a1c6fd4308d3 ("crypto: chelsio - Update ntx queue
received from cxgb4")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c