Commit 2c7e20e4795de4d462ae252815510b52bff0999f

Authored by henyxia
1 parent 3291a564

Revert "Added return value"

This reverts commit 3291a564587ae18f776fe132ce1e330fa4090b7b.
Showing 1 changed file with 1 additions and 4 deletions   Show diff stats
... ... @@ -29,22 +29,19 @@ int main(void)
29 29 printx(ERROR, MAIN, "Unable to start the NFC interface\n");
30 30 return 2;
31 31 }
32   - ret = pthread_create(&tNFC, NULL, processNFC, NULL);
33   - printx(DEBUG, MAIN, "NFC Started ID %08x ret %d\n", tNFC, ret);
  32 + pthread_create(&tNFC, NULL, processNFC, NULL);
34 33 if(!initBus())
35 34 {
36 35 printx(ERROR, MAIN, "Unable to start the BUS interface\n");
37 36 return 3;
38 37 }
39 38 pthread_create(&tBUS, NULL, processBus, NULL);
40   - printx(DEBUG, MAIN, "BUS Started ID %08x ret %d\n", tBUS, ret);
41 39 if(!initHVC())
42 40 {
43 41 printx(ERROR, MAIN, "Unable to start the HVC interface\n");
44 42 return 4;
45 43 }
46 44 pthread_create(&tHVC, NULL, processHVC, NULL);
47   - printx(DEBUG, MAIN, "HVC Started ID %08x ret %d\n", tHVC, ret);
48 45 pthread_join(tUI, NULL);
49 46 closeLog();
50 47 return 0;
... ...