lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 8 Apr 2019 14:41:06 +0800 From: Herbert Xu <herbert@...dor.apana.org.au> To: Yue Haibing <yuehaibing@...wei.com> Cc: haren@...ibm.com, davem@...emloft.net, benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au, linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org Subject: Re: [PATCH -next] crypto: nx842 - remove set but not used variables 'dpadding' and 'max_sync_size' On Sat, Mar 30, 2019 at 01:54:29PM +0800, Yue Haibing wrote: > From: YueHaibing <yuehaibing@...wei.com> > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/crypto/nx/nx-842.c: In function 'decompress': > drivers/crypto/nx/nx-842.c:356:25: warning: variable 'dpadding' set but not used [-Wunused-but-set-variable] > drivers/crypto/nx/nx-842-pseries.c: In function 'nx842_pseries_compress': > drivers/crypto/nx/nx-842-pseries.c:299:15: warning: variable 'max_sync_size' set but not used [-Wunused-but-set-variable] > drivers/crypto/nx/nx-842-pseries.c: In function 'nx842_pseries_decompress': > drivers/crypto/nx/nx-842-pseries.c:430:15: warning: variable 'max_sync_size' set but not used [-Wunused-but-set-variable] > > They are not used any more and can be removed. > > Signed-off-by: YueHaibing <yuehaibing@...wei.com> > --- > drivers/crypto/nx/nx-842-pseries.c | 6 ++---- > drivers/crypto/nx/nx-842.c | 3 +-- > 2 files changed, 3 insertions(+), 6 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@...dor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists