• YueHaibing's avatar
    crypto: chtls - remove set but not used variables 'err, adap, request, hws' · 8d555c52
    YueHaibing authored
    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: default avatarYueHaibing <yuehaibing@huawei.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    8d555c52
chtls_io.c 43.7 KB