diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2021-01-06 14:26:18 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-01-12 15:49:01 +0100 |
commit | 46434ba040935f5aadcb428c774c74875d280501 (patch) | |
tree | 2094d265b077b88e4ebdc6cde5779145ff50ff3b /security/selinux/ibpkey.c | |
parent | selinux: fix inconsistency between inode_getxattr and inode_listsecurity (diff) | |
download | linux-46434ba040935f5aadcb428c774c74875d280501.tar.xz linux-46434ba040935f5aadcb428c774c74875d280501.zip |
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/ibpkey.c')
-rw-r--r-- | security/selinux/ibpkey.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/ibpkey.c b/security/selinux/ibpkey.c index 3a63a989e55e..20b3b2243820 100644 --- a/security/selinux/ibpkey.c +++ b/security/selinux/ibpkey.c @@ -40,7 +40,6 @@ struct sel_ib_pkey { struct rcu_head rcu; }; -static LIST_HEAD(sel_ib_pkey_list); static DEFINE_SPINLOCK(sel_ib_pkey_lock); static struct sel_ib_pkey_bkt sel_ib_pkey_hash[SEL_PKEY_HASH_SIZE]; |