This article provides the information on how you can clean up unused devices in the PolicyServer.