Remove useless code in masterMain.c