]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
crypto: chtls - remove set but not used variable 'csk'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 5 Oct 2018 06:43:27 +0000 (06:43 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 Oct 2018 06:20:44 +0000 (14:20 +0800)
commitcb1af1f5991648e33dfae1f0194accc42b6fbf73
tree6921ccd276dabbebcea1f43a7d7a2419648343cc
parent68138b5d583a8dd8b88570caed46e3efab219797
crypto: chtls - remove set but not used variable 'csk'

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

drivers/crypto/chelsio/chtls/chtls_cm.c: In function 'chtls_disconnect':
drivers/crypto/chelsio/chtls/chtls_cm.c:408:21: warning:
 variable 'csk' set but not used [-Wunused-but-set-variable]

drivers/crypto/chelsio/chtls/chtls_cm.c: In function 'chtls_recv_sock':
drivers/crypto/chelsio/chtls/chtls_cm.c:1016:23: warning:
 variable 'tcph' set but not used [-Wunused-but-set-variable]

'csk' and 'tcph' are never used since introduce
in commit cc35c88ae4db ("crypto : chtls - CPL handler definition")

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