[PATCH net-next] cipso: Remove unused inline functions

Subsystems: networking [general], networking [labeled] (netlabel, labeled ipsec, secmark), the rest

STALE2273d

3 messages, 3 authors, 2020-07-15 · open the first message on its own page

[PATCH net-next] cipso: Remove unused inline functions

From: YueHaibing <hidden>
Date: 2020-07-15 02:21:38

They are not used any more since commit b1edeb102397 ("netlabel: Replace
protocol/NetLabel linking with refrerence counts")

Signed-off-by: YueHaibing <redacted>
---
 include/net/cipso_ipv4.h | 12 ------------
 1 file changed, 12 deletions(-)
diff --git a/include/net/cipso_ipv4.h b/include/net/cipso_ipv4.h
index 428b6725b248..53dd7d988a2d 100644
--- a/include/net/cipso_ipv4.h
+++ b/include/net/cipso_ipv4.h
@@ -150,18 +150,6 @@ static inline int cipso_v4_doi_walk(u32 *skip_cnt,
 {
 	return 0;
 }
-
-static inline int cipso_v4_doi_domhsh_add(struct cipso_v4_doi *doi_def,
-					  const char *domain)
-{
-	return -ENOSYS;
-}
-
-static inline int cipso_v4_doi_domhsh_remove(struct cipso_v4_doi *doi_def,
-					     const char *domain)
-{
-	return 0;
-}
 #endif /* CONFIG_NETLABEL */
 
 /*
-- 
2.17.1

Re: [PATCH net-next] cipso: Remove unused inline functions

From: Paul Moore <paul@paul-moore.com>
Date: 2020-07-15 02:28:29

On Tue, Jul 14, 2020 at 10:21 PM YueHaibing [off-list ref] wrote:
They are not used any more since commit b1edeb102397 ("netlabel: Replace
protocol/NetLabel linking with refrerence counts")

Signed-off-by: YueHaibing <redacted>
---
 include/net/cipso_ipv4.h | 12 ------------
 1 file changed, 12 deletions(-)
Looks good to me, thanks for the patch.

Acked-by: Paul Moore <paul@paul-moore.com>

-- 
paul moore
www.paul-moore.com

Re: [PATCH net-next] cipso: Remove unused inline functions

From: David Miller <davem@davemloft.net>
Date: 2020-07-15 14:45:46

From: YueHaibing <redacted>
Date: Wed, 15 Jul 2020 10:18:46 +0800
They are not used any more since commit b1edeb102397 ("netlabel: Replace
protocol/NetLabel linking with refrerence counts")

Signed-off-by: YueHaibing <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help