]> 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)
commit191ade8dac28c6f2f6590180a79934bf9b1a2a68
treec606ea05edd017b7ab04d3a021d909cc8e2acaa5
parentf5e80c04da340ada39f136611ea40d443c44c363
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 a8d2ff9b02c7 ("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