Commit fafed7d1 authored by Robert Schmidt's avatar Robert Schmidt

Remove unused restrictRNTI variable in Tpool

parent 31dcdf21
...@@ -123,7 +123,6 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name ...@@ -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 ...@@ -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;
......
...@@ -260,7 +260,6 @@ typedef struct thread_pool { ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment