summaryrefslogtreecommitdiff
path: root/security/selinux
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-05-09 14:18:52 +0300
committerPaul Moore <paul@paul-moore.com>2020-05-13 03:16:33 +0300
commitfe5a90b8c14914397a3bb0c214d142103c1ba3bf (patch)
treeb916065045b418b3365e1f4aee1fa70948e6f49b /security/selinux
parent03414a49ad5f3c56988c36d2070e402ffa17feaf (diff)
downloadlinux-fe5a90b8c14914397a3bb0c214d142103c1ba3bf.tar.xz
selinux: netlabel: Remove unused inline function
There's no callers in-tree. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/include/netlabel.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/security/selinux/include/netlabel.h b/security/selinux/include/netlabel.h
index d30d8d7cdc9c..0c58f62dc6ab 100644
--- a/security/selinux/include/netlabel.h
+++ b/security/selinux/include/netlabel.h
@@ -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)
{