Simplify 5.17 patch

This commit is contained in:
Carlos Garcés
2022-04-06 12:33:58 +02:00
parent e0f967cea1
commit 352330be93
5 changed files with 4 additions and 51 deletions

View File

@@ -315,11 +315,7 @@ static __inline void thread_enter(char *name)
allow_signal(SIGTERM);
#endif
}
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0)
void thread_exit(_completion *comp);
#else
void kthread_thread_exit(_completion *comp);
#endif
void _rtw_init_completion(_completion *comp);
void _rtw_wait_for_comp_timeout(_completion *comp);
void _rtw_wait_for_comp(_completion *comp);