Remove unused restrictRNTI variable in Tpool
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user