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.
Merge pull request #100 from DanielDent/patch-1

remove dead code