aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2018-12-13 03:36:37 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-22 22:52:44 -0500
commit0c99c2a087c60b71e1fc90d070e2e16ca52defbe (patch)
tree42d0e6674fe1299709f403a95239bd2f466217a7 /include/crypto
parentf31ba0f95f1998118098978dbfb25ecbec6b0891 (diff)
crypto: user - remove unused dump functions
This patch removes unused dump functions for crypto_user_stats. There are remains of the copy/paste of crypto_user_base to crypto_user_stat and I forgot to remove them. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/internal/cryptouser.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/crypto/internal/cryptouser.h b/include/crypto/internal/cryptouser.h
index 3492ab42eefb..40623f4457df 100644
--- a/include/crypto/internal/cryptouser.h
+++ b/include/crypto/internal/cryptouser.h
@@ -4,22 +4,10 @@
4struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact); 4struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
5 5
6#ifdef CONFIG_CRYPTO_STATS 6#ifdef CONFIG_CRYPTO_STATS
7int crypto_dump_reportstat(struct sk_buff *skb, struct netlink_callback *cb);
8int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs); 7int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
9int crypto_dump_reportstat_done(struct netlink_callback *cb);
10#else 8#else
11static int crypto_dump_reportstat(struct sk_buff *skb, struct netlink_callback *cb)
12{
13 return -ENOTSUPP;
14}
15
16static int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs) 9static int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs)
17{ 10{
18 return -ENOTSUPP; 11 return -ENOTSUPP;
19} 12}
20
21static int crypto_dump_reportstat_done(struct netlink_callback *cb)
22{
23 return -ENOTSUPP;
24}
25#endif 13#endif