Select device and press Delete.
You will be presented with the following warning:

Click OK.
The device will be deleted.
Deleting a device instance can have serious implications, i.e. all the data related to it like tuning and signal flows is deleted as well. It’s not just a harmless removal from the project, it’s a permanent removal from the project.