OSDN Git Service

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)
commita1dd3875fd65549bb8b8b2d2916dc9fec2727306
treec606ea05edd017b7ab04d3a021d909cc8e2acaa5
parent48ef50fa866aae087f63c7de8a47e76537f88691
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 8a30923e1598 ("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