Remove useless function call