summaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/policydb.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 12:52:32 +1000
committerJames Morris <jmorris@namei.org>2011-09-09 16:56:32 -0700
commit7b98a5857c3fa86cb0a7e5f893643491a8b5b425 (patch)
tree9e8b83d35a9c70f2c02853de808184871df3aba9 /security/selinux/ss/policydb.c
parent0ff53f5ddbaebeac1c2735125901275acc1fecc6 (diff)
downloadblackbird-op-linux-7b98a5857c3fa86cb0a7e5f893643491a8b5b425.tar.gz
blackbird-op-linux-7b98a5857c3fa86cb0a7e5f893643491a8b5b425.zip
selinux: sparse fix: fix several warnings in the security server code
Fix several sparse warnings in the SELinux security server code. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/ss/policydb.c')
-rw-r--r--security/selinux/ss/policydb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/selinux/ss/policydb.c b/security/selinux/ss/policydb.c
index 2381d0ded228..a7f61d52f05c 100644
--- a/security/selinux/ss/policydb.c
+++ b/security/selinux/ss/policydb.c
@@ -1743,8 +1743,6 @@ static int policydb_bounds_sanity_check(struct policydb *p)
return 0;
}
-extern int ss_initialized;
-
u16 string_to_security_class(struct policydb *p, const char *name)
{
struct class_datum *cladatum;
OpenPOWER on IntegriCloud