arm: remove dead code