bugfix: fix duplicated code

As reported by Robert Schmidt.
This commit is contained in:
Cedric Roux
2018-08-17 15:45:38 +02:00
parent dfee206027
commit e74010220d
-7
View File
@@ -1131,13 +1131,6 @@ int main( int argc, char **argv )
rt_sleep_ns(10*100000000ULL);
if (nfapi_mode) {
printf("NFAPI*** - mutex and cond created - will block shortly for completion of PNF connection\n");
pthread_cond_init(&sync_cond,NULL);
pthread_mutex_init(&sync_mutex, NULL);
}
if (nfapi_mode)
{
printf("NFAPI*** - mutex and cond created - will block shortly for completion of PNF connection\n");