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>
This commit is contained in:
Yue Haibing 2024-07-31 15:43:13 +08:00 committed by Jarkko Sakkinen
parent baeb9a7d8b
commit 652bfcb76f
2 changed files with 0 additions and 7 deletions

View File

@ -12,8 +12,4 @@
extern struct key_type key_type_dns_resolver; 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 */ #endif /* _KEYS_DNS_RESOLVER_TYPE_H */

View File

@ -436,9 +436,6 @@ extern key_ref_t keyring_search(key_ref_t keyring,
const char *description, const char *description,
bool recurse); bool recurse);
extern int keyring_add_key(struct key *keyring,
struct key *key);
extern int keyring_restrict(key_ref_t keyring, const char *type, extern int keyring_restrict(key_ref_t keyring, const char *type,
const char *restriction); const char *restriction);