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
commit b675770455
1 changed files with 0 additions and 5 deletions

View File

@ -34,7 +34,6 @@ const (
var ( var (
assignRegex = regexp.MustCompile(`^([^=]+)=(.*)$`) assignRegex = regexp.MustCompile(`^([^=]+)=(.*)$`)
spaceRegex = regexp.MustCompile(`^([^=]+) (.*)$`)
mcsList = make(map[string]bool) mcsList = make(map[string]bool)
selinuxfs = "unknown" selinuxfs = "unknown"
selinuxEnabled = false // Stores whether selinux is currently enabled selinuxEnabled = false // Stores whether selinux is currently enabled
@ -269,10 +268,6 @@ func mcsDelete(mcs string) {
mcsList[mcs] = false mcsList[mcs] = false
} }
func mcsExists(mcs string) bool {
return mcsList[mcs]
}
func IntToMcs(id int, catRange uint32) string { func IntToMcs(id int, catRange uint32) string {
var ( var (
SETSIZE = int(catRange) SETSIZE = int(catRange)