[tor-commits] [tor/release-0.2.2] remove some dead code, found by coverity