remove unecessary function
Merge pull request #988 from mapbox/remove-old

remove unecessary function