Removing unused func