Remove non-used function