aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-07-15 10:18:46 +0800
committerDavid S. Miller <davem@davemloft.net>2020-07-15 07:45:24 -0700
commit17c7b8b1cadc0ae95ee2a9fa18022dd0c901af5f (patch)
tree0070ace26c1c2b3a47f400017fb7e631b77158f8
parentMerge branch 'udp_tunnel-NIC-RX-port-offload-infrastructure' (diff)
downloadlinux-dev-17c7b8b1cadc0ae95ee2a9fa18022dd0c901af5f.tar.xz
linux-dev-17c7b8b1cadc0ae95ee2a9fa18022dd0c901af5f.zip
cipso: Remove unused inline functions
They are not used any more since commit b1edeb102397 ("netlabel: Replace protocol/NetLabel linking with refrerence counts") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/cipso_ipv4.h12
1 files changed, 0 insertions, 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 */
/*