summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2024-07-31 15:43:13 +0800
committerJarkko Sakkinen <jarkko@kernel.org>2024-09-20 18:28:26 +0300
commit652bfcb76fe689f4d85b6f3688025a87fb94f9a1 (patch)
tree63a52f4cc27c06d3a591f607442ff92ba6cc54c4 /include
parentbaeb9a7d8b60b021d907127509c44507539c15e5 (diff)
KEYS: Remove unused declarations
These declarations are never implemented, remove it. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/keys/dns_resolver-type.h4
-rw-r--r--include/linux/key.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/include/keys/dns_resolver-type.h b/include/keys/dns_resolver-type.h
index 218ca22fb056..1b89088a2837 100644
--- a/include/keys/dns_resolver-type.h
+++ b/include/keys/dns_resolver-type.h
@@ -12,8 +12,4 @@
extern struct key_type key_type_dns_resolver;
-extern int request_dns_resolver_key(const char *description,
- const char *callout_info,
- char **data);
-
#endif /* _KEYS_DNS_RESOLVER_TYPE_H */
diff --git a/include/linux/key.h b/include/linux/key.h
index 943a432da3ae..074dca3222b9 100644
--- a/include/linux/key.h
+++ b/include/linux/key.h
@@ -436,9 +436,6 @@ extern key_ref_t keyring_search(key_ref_t keyring,
const char *description,
bool recurse);
-extern int keyring_add_key(struct key *keyring,
- struct key *key);
-
extern int keyring_restrict(key_ref_t keyring, const char *type,
const char *restriction);