Messages in this thread | | | Date | Mon, 8 Apr 2019 14:40:55 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH -next] crypto: marvell - remove set but not used variable 'index' |
| |
On Sat, Mar 30, 2019 at 01:28:58PM +0800, Yue Haibing wrote: > From: YueHaibing <yuehaibing@huawei.com> > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/crypto/marvell/hash.c: In function 'mv_cesa_ahash_pad_req': > drivers/crypto/marvell/hash.c:138:15: warning: variable 'index' set but not used [-Wunused-but-set-variable] > > It's never used and can be removed. > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- > drivers/crypto/marvell/hash.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |