Remove the unused hardware setup code