[core] gc engine: remove useless function call