kernel: remove unused CONFIG guard becuase GKI kernel enable kprobe by default

This commit is contained in:
weishu
2025-02-16 21:38:59 +08:00
parent 4593ae81c7
commit 500ff9bcbc
4 changed files with 0 additions and 60 deletions

View File

@@ -57,12 +57,8 @@ int __init kernelsu_init(void)
ksu_throne_tracker_init();
#ifdef CONFIG_KPROBES
ksu_sucompat_init();
ksu_ksud_init();
#else
pr_alert("KPROBES is disabled, KernelSU may not work, please check https://kernelsu.org/guide/how-to-integrate-for-non-gki.html");
#endif
#ifdef MODULE
#ifndef CONFIG_KSU_DEBUG
@@ -80,10 +76,8 @@ void kernelsu_exit(void)
destroy_workqueue(ksu_workqueue);
#ifdef CONFIG_KPROBES
ksu_ksud_exit();
ksu_sucompat_exit();
#endif
ksu_core_exit();
}