Removing unused function

I'm an idiot....