]> asedeno.scripts.mit.edu Git - linux.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)
commit25e9960c370b23d6627a3424d0d9820e72152096
treeb528a6f9fd941ce059ede429d72b3b3ad591289e
parentf1d087b912c61f23685fcfc1bf61dfce517d89f3
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