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 Accepted
Commit e12f2a6d1b9e10cfa1a5c520a620cd5c3a7ceba3
Delegated to: Netdev Maintainers
Headers show
Series [net-next] netlabel: Remove unused declaration netlbl_cipsov4_doi_free() | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1330 this patch: 1330
netdev/cc_maintainers success CCed 7 of 7 maintainers
netdev/build_clang success Errors and warnings before: 1351 this patch: 1351
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1353 this patch: 1353
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

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