Skip to content

Commit

Permalink
selinux: netlabel: Remove unused inline function
Browse files Browse the repository at this point in the history
There's no callers in-tree.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
  • Loading branch information
YueHaibing authored and Paul Moore committed May 13, 2020
1 parent 03414a4 commit fe5a90b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions security/selinux/include/netlabel.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ static inline int selinux_netlbl_skbuff_setsid(struct sk_buff *skb,
return 0;
}

static inline int selinux_netlbl_conn_setsid(struct sock *sk,
struct sockaddr *addr)
{
return 0;
}

static inline int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep,
struct sk_buff *skb)
{
Expand Down

0 comments on commit fe5a90b

Please sign in to comment.