Remove unused code
Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
parent
ce1f2f1c86
commit
eb0408b199
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue