[arm] Remove some unused code.