summaryrefslogtreecommitdiff
path: root/src/core/selinux-access.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-10-19 21:45:00 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-10-19 21:46:01 +0200
commitb250ea2fd6fe35242a7d161a3b37bb756ae87be0 (patch)
tree34387fef4499e6e5ea8bd8a30164e1a6d4259d2a /src/core/selinux-access.c
parentc8115977bfb4ffed885d37831db995776dbe6191 (diff)
tree-wide: remove unused functions
Diffstat (limited to 'src/core/selinux-access.c')
-rw-r--r--src/core/selinux-access.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c
index 40ca0c6166..cf38fa0ebe 100644
--- a/src/core/selinux-access.c
+++ b/src/core/selinux-access.c
@@ -178,17 +178,6 @@ static int mac_selinux_access_init(sd_bus_error *error) {
}
#endif
-void mac_selinux_access_free(void) {
-
-#ifdef HAVE_SELINUX
- if (!initialized)
- return;
-
- avc_destroy();
- initialized = false;
-#endif
-}
-
/*
This function communicates with the kernel to check whether or not it should
allow the access.