* [PATCH net-next] cipso: Remove unused inline functions
@ 2020-07-15 2:18 YueHaibing
2020-07-15 2:28 ` Paul Moore
2020-07-15 14:45 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: YueHaibing @ 2020-07-15 2:18 UTC (permalink / raw)
To: paul, davem, kuba, yuehaibing; +Cc: netdev, linux-security-module, linux-kernel
They are not used any more since commit b1edeb102397 ("netlabel: Replace
protocol/NetLabel linking with refrerence counts")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] cipso: Remove unused inline functions
2020-07-15 2:18 [PATCH net-next] cipso: Remove unused inline functions YueHaibing
@ 2020-07-15 2:28 ` Paul Moore
2020-07-15 14:45 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Paul Moore @ 2020-07-15 2:28 UTC (permalink / raw)
To: YueHaibing; +Cc: davem, kuba, netdev, linux-security-module, linux-kernel
On Tue, Jul 14, 2020 at 10:21 PM YueHaibing <yuehaibing@huawei.com> wrote:
>
> They are not used any more since commit b1edeb102397 ("netlabel: Replace
> protocol/NetLabel linking with refrerence counts")
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] cipso: Remove unused inline functions
2020-07-15 2:18 [PATCH net-next] cipso: Remove unused inline functions YueHaibing
2020-07-15 2:28 ` Paul Moore
@ 2020-07-15 14:45 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2020-07-15 14:45 UTC (permalink / raw)
To: yuehaibing; +Cc: paul, kuba, netdev, linux-security-module, linux-kernel
From: YueHaibing <yuehaibing@huawei.com>
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 <yuehaibing@huawei.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-15 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 2:18 [PATCH net-next] cipso: Remove unused inline functions YueHaibing
2020-07-15 2:28 ` Paul Moore
2020-07-15 14:45 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).