If this code isn't necessary anymore, I think you should just delete it.  git will track the history if we ever need to look at it again.