'Helper function to delete the specified volume.
Pass in host if is snapshot
:param volume: volume object to be deleted
:returns: volume_name (string vol name)'

def _delete_volume(self, volume):

    volume_name = volume.name
    extra_specs = self._initial_setup(volume)
    device_id = self._find_device_on_array(volume, extra_specs)
    if (device_id is None):
        LOG.error('Volume    %(name)s    not    found    on    the    array.    No    volume    to    delete.', {'name': volume_name})
        return volume_name
    array = extra_specs[utils.ARRAY]
    self._sync_check(array, device_id, volume_name, extra_specs)
    self._remove_vol_and_cleanup_replication(array, device_id, volume_name, extra_specs, volume)
    self._delete_from_srp(array, device_id, volume_name, extra_specs)
    return volume_name
