public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH resend -next] KEYS: Remove unused declarations
@ 2024-07-31  7:43 Yue Haibing
  2024-08-01 22:18 ` Jarkko Sakkinen
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2024-07-31  7:43 UTC (permalink / raw)
  To: dhowells, jarkko, yuehaibing, hare; +Cc: keyrings, linux-kernel

These declarations are never implemented, remove it.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
---
 include/keys/dns_resolver-type.h | 4 ----
 include/linux/key.h              | 3 ---
 2 files changed, 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);
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH resend -next] KEYS: Remove unused declarations
  2024-07-31  7:43 [PATCH resend -next] KEYS: Remove unused declarations Yue Haibing
@ 2024-08-01 22:18 ` Jarkko Sakkinen
  0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Sakkinen @ 2024-08-01 22:18 UTC (permalink / raw)
  To: Yue Haibing, dhowells, hare; +Cc: keyrings, linux-kernel

On Wed Jul 31, 2024 at 10:43 AM EEST, Yue Haibing wrote:
> These declarations are never implemented, remove it.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
> ---
>  include/keys/dns_resolver-type.h | 4 ----
>  include/linux/key.h              | 3 ---
>  2 files changed, 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);
>  


Applied!

BR, Jarkko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-01 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31  7:43 [PATCH resend -next] KEYS: Remove unused declarations Yue Haibing
2024-08-01 22:18 ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox