Re: [PATCH v2 -next] crypto: brcm - Fix some set-but-not-used warning

2019-01-18 Thread Herbert Xu
On Wed, Jan 09, 2019 at 06:11:18AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/crypto/bcm/cipher.c: In function 'handle_ahash_req': > drivers/crypto/bcm/cipher.c:720:15: warning: > variable 'chunk_start' set but not used [-Wunused-but-set-variable] > > d

[PATCH v2 -next] crypto: brcm - Fix some set-but-not-used warning

2019-01-08 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/crypto/bcm/cipher.c: In function 'handle_ahash_req': drivers/crypto/bcm/cipher.c:720:15: warning: variable 'chunk_start' set but not used [-Wunused-but-set-variable] drivers/crypto/bcm/cipher.c: In function 'spu_rx_callback': drivers/crypto/