remove useless function call.