summaryrefslogtreecommitdiff
path: root/security/selinux/netif.c
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2021-01-06 14:26:18 +0100
committerPaul Moore <paul@paul-moore.com>2021-01-12 09:49:01 -0500
commit46434ba040935f5aadcb428c774c74875d280501 (patch)
tree2094d265b077b88e4ebdc6cde5779145ff50ff3b /security/selinux/netif.c
parenta9ffe682c58aaff643764547f5420e978b6e0830 (diff)
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/netif.c')
-rw-r--r--security/selinux/netif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/netif.c b/security/selinux/netif.c
index 86813b46fad5..1ab03efe7494 100644
--- a/security/selinux/netif.c
+++ b/security/selinux/netif.c
@@ -36,7 +36,6 @@ struct sel_netif {
};
static u32 sel_netif_total;
-static LIST_HEAD(sel_netif_list);
static DEFINE_SPINLOCK(sel_netif_lock);
static struct list_head sel_netif_hash[SEL_NETIF_HASH_SIZE];