Adding a function to remove a single device from the scanner via a pointer.