cipso: Remove unused inline functions
authorYueHaibing <yuehaibing@huawei.com>
Wed, 15 Jul 2020 02:18:46 +0000 (10:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jul 2020 14:45:24 +0000 (07:45 -0700)
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>
include/net/cipso_ipv4.h

index 428b672..53dd7d9 100644 (file)
@@ -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 */
 
 /*