kernel: clean code

This commit is contained in:
ShirkNeko
2025-11-06 15:24:33 +08:00
parent e8ecb9a33b
commit c1ecb8f3b9
2 changed files with 6 additions and 14 deletions

View File

@@ -27,20 +27,6 @@ bool ksu_queue_work(struct work_struct *work)
return queue_work(ksu_workqueue, work);
}
extern int ksu_handle_execveat_sucompat(int *fd, struct filename **filename_ptr,
void *argv, void *envp, int *flags);
extern int ksu_handle_execveat_ksud(int *fd, struct filename **filename_ptr,
void *argv, void *envp, int *flags);
int ksu_handle_execveat(int *fd, struct filename **filename_ptr, void *argv,
void *envp, int *flags)
{
ksu_handle_execveat_ksud(fd, filename_ptr, argv, envp, flags);
return ksu_handle_execveat_sucompat(fd, filename_ptr, argv, envp,
flags);
}
int __init kernelsu_init(void)
{
#ifdef CONFIG_KSU_DEBUG