Remove dead code

There are bunch of commented and #if 0'ed code that has been so for long
time so better to drop them.
Merge pull request #7 from jhnikula/041b178c8cc458abd98f1e8c3fba365d6775f5d0

Remove dead code