Remove a useless function