Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: nx - remove unused variables 'nx_driver_string' and 'nx_driver_version'

drivers/crypto/nx/nx.h:12:19: warning:
nx_driver_string defined but not used [-Wunused-const-variable=]
drivers/crypto/nx/nx.h:13:19: warning:
nx_driver_version defined but not used [-Wunused-const-variable=]

They are never used, so just remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

YueHaibing and committed by
Herbert Xu
2be7f901 25e9960c

-3
-3
drivers/crypto/nx/nx.h
··· 9 9 #define NX_STRING "IBM Power7+ Nest Accelerator Crypto Driver" 10 10 #define NX_VERSION "1.0" 11 11 12 - static const char nx_driver_string[] = NX_STRING; 13 - static const char nx_driver_version[] = NX_VERSION; 14 - 15 12 /* a scatterlist in the format PHYP is expecting */ 16 13 struct nx_sg { 17 14 u64 addr;