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

Yue Haibing yuehaibing at huawei.com
Tue Aug 1 14:34:53 UTC 2023


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 at huawei.com>
---
 net/netlabel/netlabel_cipso_v4.h | 3 ---
 1 file changed, 3 deletions(-)

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
-- 
2.34.1



More information about the Linux-security-module-archive mailing list