Remove Check if fedora and inside kernel

It's completely unclear what this is supposed to do.
This commit is contained in:
Robert Schmidt
2024-06-03 12:37:33 +02:00
parent 7a8b2fe4a9
commit a25b209e7f
4 changed files with 0 additions and 33 deletions
-5
View File
@@ -195,11 +195,6 @@ void init_thread(int sched_runtime,
char *name) {
int settingPriority = 1;
if (checkIfFedoraDistribution())
if (checkIfGenericKernelOnFedora())
if (checkIfInsideContainer())
settingPriority = 0;
if (settingPriority) {
if (CPU_COUNT(cpuset) > 0)
AssertFatal( 0 == pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), cpuset), "");
-4
View File
@@ -457,10 +457,6 @@ ldpc_interface_t ldpc_interface = {0}, ldpc_interface_offload = {0};
int main(int argc, char **argv)
{
int set_exe_prio = 1;
if (checkIfFedoraDistribution())
if (checkIfGenericKernelOnFedora())
if (checkIfInsideContainer())
set_exe_prio = 0;
if (set_exe_prio)
set_priority(79);