On Thu, Aug 22, 2019 at 10:44:44PM +0800, YueHaibing wrote: > drivers/crypto/atmel-i2c.h:68:3: warning: > error_list defined but not used [-Wunused-const-variable=] > > error_list is only used in atmel-i2c.c, > so just move the definition over there. > > Reported-by: Hulk Robot <[email protected]> > Signed-off-by: YueHaibing <[email protected]> > --- > drivers/crypto/atmel-i2c.c | 12 ++++++++++++ > drivers/crypto/atmel-i2c.h | 12 ------------ > 2 files changed, 12 insertions(+), 12 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
