From eb0408b19999094ffb0f8d124aadca7d51f7590a Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Sat, 20 Jun 2015 14:53:44 +0200 Subject: [PATCH] Remove unused code Signed-off-by: Antonio Murdaca --- selinux/selinux.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/selinux/selinux.go b/selinux/selinux.go index 28bc405a..e2cdec93 100644 --- a/selinux/selinux.go +++ b/selinux/selinux.go @@ -34,7 +34,6 @@ const ( var ( assignRegex = regexp.MustCompile(`^([^=]+)=(.*)$`) - spaceRegex = regexp.MustCompile(`^([^=]+) (.*)$`) mcsList = make(map[string]bool) selinuxfs = "unknown" selinuxEnabled = false // Stores whether selinux is currently enabled @@ -269,10 +268,6 @@ func mcsDelete(mcs string) { mcsList[mcs] = false } -func mcsExists(mcs string) bool { - return mcsList[mcs] -} - func IntToMcs(id int, catRange uint32) string { var ( SETSIZE = int(catRange)