diff mbox series

[net-next] netlabel: Remove unused declaration netlbl_cipsov4_doi_free()

Message ID 20230801143453.24452-1-yuehaibing@huawei.com (mailing list archive)
State Handled Elsewhere
Delegated to: Paul Moore
Headers show
Series [net-next] netlabel: Remove unused declaration netlbl_cipsov4_doi_free() | expand

Commit Message

Yue Haibing Aug. 1, 2023, 2:34 p.m. UTC
Since commit b1edeb102397 ("netlabel: Replace protocol/NetLabel linking with refrerence counts")
this declaration is unused and can be removed.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 net/netlabel/netlabel_cipso_v4.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Paul Moore Aug. 1, 2023, 4:42 p.m. UTC | #1
On Tue, Aug 1, 2023 at 10:35 AM Yue Haibing <yuehaibing@huawei.com> wrote:
>
> Since commit b1edeb102397 ("netlabel: Replace protocol/NetLabel linking with refrerence counts")
> this declaration is unused and can be removed.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  net/netlabel/netlabel_cipso_v4.h | 3 ---
>  1 file changed, 3 deletions(-)

Thanks for catching this.

Acked-by: Paul Moore <paul@paul-moore.com>
patchwork-bot+netdevbpf@kernel.org Aug. 2, 2023, 7:40 p.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 1 Aug 2023 22:34:53 +0800 you wrote:
> Since commit b1edeb102397 ("netlabel: Replace protocol/NetLabel linking with refrerence counts")
> this declaration is unused and can be removed.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  net/netlabel/netlabel_cipso_v4.h | 3 ---
>  1 file changed, 3 deletions(-)

Here is the summary with links:
  - [net-next] netlabel: Remove unused declaration netlbl_cipsov4_doi_free()
    https://git.kernel.org/netdev/net-next/c/e12f2a6d1b9e

You are awesome, thank you!
diff mbox series

Patch

diff --git a/net/netlabel/netlabel_cipso_v4.h b/net/netlabel/netlabel_cipso_v4.h
index 85d7ecb05728..9518ab56ec98 100644
--- a/net/netlabel/netlabel_cipso_v4.h
+++ b/net/netlabel/netlabel_cipso_v4.h
@@ -149,7 +149,4 @@  enum {
 /* NetLabel protocol functions */
 int netlbl_cipsov4_genl_init(void);
 
-/* Free the memory associated with a CIPSOv4 DOI definition */
-void netlbl_cipsov4_doi_free(struct rcu_head *entry);
-
 #endif