]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: atmel - Fix -Wunused-const-variable warning
authorYueHaibing <yuehaibing@huawei.com>
Thu, 22 Aug 2019 14:44:44 +0000 (22:44 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Aug 2019 08:05:31 +0000 (18:05 +1000)
commit9543eeae5733fcd5085bff5501c9a70176884630
treeb528a6f9fd941ce059ede429d72b3b3ad591289e
parent756d0be117ef26d8147e429d004ad2a8bcf74ca8
crypto: atmel - Fix -Wunused-const-variable warning

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 <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-i2c.c
drivers/crypto/atmel-i2c.h