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,22 +29,19 @@ int main(void)
29 printx(ERROR, MAIN, "Unable to start the NFC interface\n"); 29 printx(ERROR, MAIN, "Unable to start the NFC interface\n");
30 return 2; 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 if(!initBus()) 33 if(!initBus())
35 { 34 {
36 printx(ERROR, MAIN, "Unable to start the BUS interface\n"); 35 printx(ERROR, MAIN, "Unable to start the BUS interface\n");
37 return 3; 36 return 3;
38 } 37 }
39 pthread_create(&tBUS, NULL, processBus, NULL); 38 pthread_create(&tBUS, NULL, processBus, NULL);
40 - printx(DEBUG, MAIN, "BUS Started ID %08x ret %d\n", tBUS, ret);  
41 if(!initHVC()) 39 if(!initHVC())
42 { 40 {
43 printx(ERROR, MAIN, "Unable to start the HVC interface\n"); 41 printx(ERROR, MAIN, "Unable to start the HVC interface\n");
44 return 4; 42 return 4;
45 } 43 }
46 pthread_create(&tHVC, NULL, processHVC, NULL); 44 pthread_create(&tHVC, NULL, processHVC, NULL);
47 - printx(DEBUG, MAIN, "HVC Started ID %08x ret %d\n", tHVC, ret);  
48 pthread_join(tUI, NULL); 45 pthread_join(tUI, NULL);
49 closeLog(); 46 closeLog();
50 return 0; 47 return 0;