remove unused code

I realized this was dead code when I fixed a bug that should have been causing trouble, but wasn't.