summaryrefslogtreecommitdiff
path: root/security/selinux/netport.c
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2021-01-06 16:26:18 +0300
committerPaul Moore <paul@paul-moore.com>2021-01-12 17:49:01 +0300
commit46434ba040935f5aadcb428c774c74875d280501 (patch)
tree2094d265b077b88e4ebdc6cde5779145ff50ff3b /security/selinux/netport.c
parenta9ffe682c58aaff643764547f5420e978b6e0830 (diff)
downloadlinux-46434ba040935f5aadcb428c774c74875d280501.tar.xz
selinux: remove unused global variables
All of sel_ib_pkey_list, sel_netif_list, sel_netnode_list, and sel_netport_list are declared but never used. Remove them. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/netport.c')
-rw-r--r--security/selinux/netport.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/netport.c b/security/selinux/netport.c
index d340f4dcdf5f..b8bc3897891d 100644
--- a/security/selinux/netport.c
+++ b/security/selinux/netport.c
@@ -53,7 +53,6 @@ struct sel_netport {
* if this becomes a problem we can always add a hash table for each address
* family later */
-static LIST_HEAD(sel_netport_list);
static DEFINE_SPINLOCK(sel_netport_lock);
static struct sel_netport_bkt sel_netport_hash[SEL_NETPORT_HASH_SIZE];