]> git.baikalelectronics.ru Git - kernel.git/commit
chcr: remove set but not used variable 'status'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 14 Mar 2020 10:51:20 +0000 (18:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2020 09:02:04 +0000 (02:02 -0700)
commit11cb3dc52745cbb4a7ba8d12b65a0409ee692bfd
treec606ea05edd017b7ab04d3a021d909cc8e2acaa5
parentbb178617ead6951e5da63d83127a32cfc44b231d
chcr: remove set but not used variable 'status'

drivers/crypto/chelsio/chcr_ktls.c: In function chcr_ktls_cpl_set_tcb_rpl:
drivers/crypto/chelsio/chcr_ktls.c:662:11: warning:
 variable status set but not used [-Wunused-but-set-variable]

commit e64434be5989 ("cxgb4/chcr: Save tx keys and handle HW response")
involved this unused variable, remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chcr_ktls.c