diff mbox series

[2/3] semanage_migrate_store: remove unused loading of libsepol.so

Message ID 20181219221320.8594-2-nicolas.iooss@m4x.org (mailing list archive)
State Not Applicable
Headers show
Series [1/3] semanage_migrate_store: fix many Python linter warnings | expand

Commit Message

Nicolas Iooss Dec. 19, 2018, 10:13 p.m. UTC
semanage_migrate_store loads libsepol.so using ctypes but never uses it.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 libsemanage/utils/semanage_migrate_store | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/libsemanage/utils/semanage_migrate_store b/libsemanage/utils/semanage_migrate_store
index 7b5bee819e24..360f143e9fca 100755
--- a/libsemanage/utils/semanage_migrate_store
+++ b/libsemanage/utils/semanage_migrate_store
@@ -8,9 +8,6 @@  import shutil
 import sys
 from optparse import OptionParser
 
-import ctypes
-
-sepol = ctypes.cdll.LoadLibrary('libsepol.so.1')
 
 try:
 	import selinux