KEYS: Remove unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Wed, 31 Jul 2024 07:43:13 +0000 (15:43 +0800)
committerJarkko Sakkinen <jarkko@kernel.org>
Fri, 20 Sep 2024 15:28:26 +0000 (18:28 +0300)
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>
include/keys/dns_resolver-type.h
include/linux/key.h

index 218ca22fb056e3158397358ea5deaab01a1dda1a..1b89088a2837075835cd9c5a72400af53a64a085 100644 (file)
@@ -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 */
index 943a432da3ae613d09c98952ff82775d07f71b45..074dca3222b967179e5c0f344e8cb1d624a736eb 100644 (file)
@@ -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);