remove non-ramips code