Skip to content

Commit

Permalink
cipso: Remove unused inline functions
Browse files Browse the repository at this point in the history
They are not used any more since commit b1edeb1 ("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>
  • Loading branch information
YueHaibing authored and David S. Miller committed Jul 15, 2020
1 parent 4ff91fa commit 17c7b8b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/net/cipso_ipv4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

/*
Expand Down

0 comments on commit 17c7b8b

Please sign in to comment.