diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-05-09 13:18:52 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-05-13 02:16:33 +0200 |
commit | fe5a90b8c14914397a3bb0c214d142103c1ba3bf (patch) | |
tree | b916065045b418b3365e1f4aee1fa70948e6f49b /security | |
parent | selinux: do not allocate hashtabs dynamically (diff) | |
download | linux-fe5a90b8c14914397a3bb0c214d142103c1ba3bf.tar.xz linux-fe5a90b8c14914397a3bb0c214d142103c1ba3bf.zip |
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')
-rw-r--r-- | security/selinux/include/netlabel.h | 6 |
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) { |