OSDN Git Service

netlabel: Remove unused declaration netlbl_cipsov4_doi_free()
authorYue Haibing <yuehaibing@huawei.com>
Tue, 1 Aug 2023 14:34:53 +0000 (22:34 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Aug 2023 19:28:22 +0000 (12:28 -0700)
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>
Acked-by: Paul Moore <paul@paul-moore.com>
Link: https://lore.kernel.org/r/20230801143453.24452-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/netlabel/netlabel_cipso_v4.h

index 85d7ecb..9518ab5 100644 (file)
@@ -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