remove dead code

As far as I can tell, this code doesn't do anything. I haven't examined the project closely enough to understand if this was intentional or if it's a bug.