diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-22 10:46:49 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-30 04:05:31 -0400 |
commit | 2be7f901610ca0d8588865b13ca9046ec32fb9bb (patch) | |
tree | 14308d1cd63aef6b15c39d8780a84d81159cbf4f | |
parent | 25e9960c370b23d6627a3424d0d9820e72152096 (diff) |
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>
-rw-r--r-- | drivers/crypto/nx/nx.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/crypto/nx/nx.h b/drivers/crypto/nx/nx.h index c6b5a3be02be..7ecca168f8c4 100644 --- a/drivers/crypto/nx/nx.h +++ b/drivers/crypto/nx/nx.h | |||
@@ -9,9 +9,6 @@ | |||
9 | #define NX_STRING "IBM Power7+ Nest Accelerator Crypto Driver" | 9 | #define NX_STRING "IBM Power7+ Nest Accelerator Crypto Driver" |
10 | #define NX_VERSION "1.0" | 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 | /* a scatterlist in the format PHYP is expecting */ | 12 | /* a scatterlist in the format PHYP is expecting */ |
16 | struct nx_sg { | 13 | struct nx_sg { |
17 | u64 addr; | 14 | u64 addr; |