From: Yue Haibing Date: Tue, 1 Aug 2023 14:34:53 +0000 (+0800) Subject: netlabel: Remove unused declaration netlbl_cipsov4_doi_free() X-Git-Tag: microblaze-v6.8~638^2~250 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=e12f2a6d1b9e10cfa1a5c520a620cd5c3a7ceba3;p=linux-2.6-microblaze.git netlabel: Remove unused declaration netlbl_cipsov4_doi_free() Since commit b1edeb102397 ("netlabel: Replace protocol/NetLabel linking with refrerence counts") this declaration is unused and can be removed. Signed-off-by: Yue Haibing Acked-by: Paul Moore Link: https://lore.kernel.org/r/20230801143453.24452-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski --- 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