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 (
|
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)
|
||||||
|
|
Loading…
Reference in New Issue