units: remove some code that was never executed.