Remove unused restrictRNTI variable in Tpool

This commit is contained in:
Robert Schmidt
2022-08-16 14:41:02 +02:00
parent 31dcdf2152
commit fafed7d181
2 changed files with 0 additions and 6 deletions
-5
View File
@@ -123,7 +123,6 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name
char *saveptr, * curptr; char *saveptr, * curptr;
char *parms_cpy=strdup(params); char *parms_cpy=strdup(params);
pool->nbThreads=0; pool->nbThreads=0;
pool->restrictRNTI=false;
curptr=strtok_r(parms_cpy,",",&saveptr); curptr=strtok_r(parms_cpy,",",&saveptr);
struct one_thread * ptr; struct one_thread * ptr;
char *tname = (name == NULL ? "Tpool" : name); char *tname = (name == NULL ? "Tpool" : name);
@@ -131,10 +130,6 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name
int c=toupper(curptr[0]); int c=toupper(curptr[0]);
switch (c) { switch (c) {
case 'U':
pool->restrictRNTI=true;
break;
case 'N': case 'N':
pool->activated=false; pool->activated=false;
break; break;
-1
View File
@@ -260,7 +260,6 @@ typedef struct thread_pool {
uint64_t cpuCyclesMicroSec; uint64_t cpuCyclesMicroSec;
uint64_t startProcessingUE; uint64_t startProcessingUE;
int nbThreads; int nbThreads;
bool restrictRNTI;
notifiedFIFO_t incomingFifo; notifiedFIFO_t incomingFifo;
struct one_thread *allthreads; struct one_thread *allthreads;
} tpool_t; } tpool_t;