Message ID | 20230801143453.24452-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e12f2a6d1b9e10cfa1a5c520a620cd5c3a7ceba3 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] netlabel: Remove unused declaration netlbl_cipsov4_doi_free() | expand |
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>
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 --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
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(-)