Remove unnecessary device trees