remove all unneeded devices (2/2)