Skip to content

Commit a1dd387

Browse files
YueHaibingdavem330
authored andcommitted
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 8a30923 ("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>
1 parent 48ef50f commit a1dd387

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/crypto/chelsio/chcr_ktls.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,10 +659,9 @@ int chcr_ktls_cpl_set_tcb_rpl(struct adapter *adap, unsigned char *input)
659659
const struct cpl_set_tcb_rpl *p = (void *)input;
660660
struct chcr_ktls_info *tx_info = NULL;
661661
struct tid_info *t;
662-
u32 tid, status;
662+
u32 tid;
663663

664664
tid = GET_TID(p);
665-
status = p->status;
666665

667666
t = &adap->tids;
668667
tx_info = lookup_tid(t, tid);

0 commit comments

Comments
 (0)