On Tue, Dec 18, 2018 at 02:26:14AM +0000, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/crypto/chelsio/chtls/chtls_io.c: In function 'csk_wait_memory': > drivers/crypto/chelsio/chtls/chtls_io.c:925:6: warning: > variable 'sndbuf' set but not used [-Wunused-but-set-variable] > > drivers/crypto/chelsio/chtls/chtls_io.c: In function 'chtls_pt_recvmsg': > drivers/crypto/chelsio/chtls/chtls_io.c:1411:6: warning: > variable 'request' set but not used [-Wunused-but-set-variable] > > drivers/crypto/chelsio/chtls/chtls_io.c:1407:18: warning: > variable 'adap' set but not used [-Wunused-but-set-variable] > > drivers/crypto/chelsio/chtls/chtls_io.c: In function 'chtls_recvmsg': > drivers/crypto/chelsio/chtls/chtls_io.c:1701:6: warning: > variable 'request' set but not used [-Wunused-but-set-variable] > > drivers/crypto/chelsio/chtls/chtls_io.c:1697:20: warning: > variable 'hws' set but not used [-Wunused-but-set-variable] > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> > --- > drivers/crypto/chelsio/chtls/chtls_io.c | 12 +----------- > 1 file changed, 1 insertion(+), 11 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt