diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-06-30 15:54:24 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-07-20 22:15:12 +1200 |
commit | e575fa651a63d3a55785977be53d18ed660d23ad (patch) | |
tree | d3e88a7cc08d30e25f31d52cef3ce6b599d704bd /crypto | |
parent | 04902aa6217b01e858cc7cd8f287da39418ede3a (diff) | |
download | linux-crypto-e575fa651a63d3a55785977be53d18ed660d23ad.tar.gz linux-crypto-e575fa651a63d3a55785977be53d18ed660d23ad.zip |
crypto: sig - Remove some unused functions
These functions are defined in the sig.c file, but not called elsewhere,
so delete these unused functions.
crypto/sig.c:24:34: warning: unused function '__crypto_sig_tfm'.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5701
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/sig.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/sig.c b/crypto/sig.c index b48c18ec..224c4701 100644 --- a/crypto/sig.c +++ b/crypto/sig.c @@ -21,11 +21,6 @@ static const struct crypto_type crypto_sig_type; -static inline struct crypto_sig *__crypto_sig_tfm(struct crypto_tfm *tfm) -{ - return container_of(tfm, struct crypto_sig, base); -} - static int crypto_sig_init_tfm(struct crypto_tfm *tfm) { if (tfm->__crt_alg->cra_type != &crypto_sig_type) |