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

@@ -1355,11 +1355,7 @@ exit:
pmptx->pallocated_buf = NULL;
pmptx->stop = 1;
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0)
thread_exit(NULL);
#else
kthread_thread_exit(NULL);
#endif
return 0;
}