kernel: clean code

This commit is contained in:
ShirkNeko
2025-11-11 16:41:06 +08:00
parent d2db8b4291
commit d65fcada04
3 changed files with 11 additions and 12 deletions

View File

@@ -43,6 +43,7 @@ struct manager_list_info {
bool ksu_queue_work(struct work_struct *work);
#if 0
static inline int startswith(char *s, char *prefix)
{
return strncmp(s, prefix, strlen(prefix));
@@ -56,5 +57,6 @@ static inline int endswith(const char *s, const char *t)
return 1;
return strcmp(s + slen - tlen, t);
}
#endif
#endif