Merge pull request #643 from runcom/cleanup-unused

Remove unused code
This commit is contained in:
Alexander Morozov
2015-06-20 09:02:03 -07:00
-5
View File
@@ -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)