crypto: dh - Remove the unused function dh_safe_prime_dh_alg()
PATCH 1/1 crypto: dh - Remove the unused function dh_safe_prime_dh_alg()
Fix the following W=1 kernel warnings:
crypto/dh.c:311:31: warning: unused function 'dh_safe_prime_dh_alg' [-Wunused-function]
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- crypto/dh.c | 6 ------ 1 file changed, 6 deletions(-)
crypto/dh.c +0 -6
@@ -308,12 +308,6 @@ static inline struct dh_safe_prime_instance_ctx *dh_safe_prime_instance_ctx(return kpp_instance_ctx (kpp_alg_instance (tfm)); } -static inline struct kpp_alg *dh_safe_prime_dh_alg ( -struct dh_safe_prime_tfm_ctx *ctx) -{ -return crypto_kpp_alg (ctx->dh_tfm); -} -static int dh_safe_prime_init_tfm (struct crypto_kpp *tfm) { struct dh_safe_prime_instance_ctx *inst_ctx =
Signature · 1 line
2.20.1.7.g153144c
Herbert Xu
maintainerQuoted 10 lines · Jiapeng Chong
Fix the following W=1 kernel warnings:
crypto/dh.c:311:31: warning: unused function 'dh_safe_prime_dh_alg' [-Wunused-function]Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- crypto/dh.c | 6 ------ 1 file changed, 6 deletions(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt