Remove some dead code found by Coverity