code: def DbDeleteDevice(self, argin):
          
          self._log.debug("In DbDeleteDevice()")
  
          ret, dev_name, dfm = check_device_name(argin)
          if not ret:
              self.warn_stream("DataBase::db_delete_device(): device name " + argin + " incorrect ")
              th_exc(DB_IncorrectDeviceName,
                     "failed to delete device, device name incorrect",
                     "DataBase::DeleteDevice()")
          self.db.delete_device(dev_name)
docs: Delete a devcie from database
  
          :param argin: device name
          :type: tango.DevString
          :return:
          :rtype: tango.DevVoid