diff --git a/kernel/Makefile b/kernel/Makefile index 021840a2efe9..a7f580d4c08f 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -35,14 +35,6 @@ $(warning "KSU_GIT_VERSION not defined! It is better to make KernelSU a git subm ccflags-y += -DKSU_VERSION=16 endif -ifeq ($(shell grep -q " current_sid(void)" $(srctree)/security/selinux/include/objsec.h; echo $$?),0) -ccflags-y += -DKSU_COMPAT_HAS_CURRENT_SID -endif - -ifeq ($(shell grep -q "struct selinux_state " $(srctree)/security/selinux/include/security.h; echo $$?),0) -ccflags-y += -DKSU_COMPAT_HAS_SELINUX_STATE -endif - ifndef KSU_EXPECTED_SIZE KSU_EXPECTED_SIZE := 0x033b endif