/* @acb: The adapter from which all devices should be removed.  */
static void adapter_remove_and_free_all_devices(struct AdapterCtlBlk *acb)
/* @acb: The adapter from which all devices should be removed.  */
static void adapter_remove_and_free_all_devices(struct AdapterCtlBlk *acb)
{
	struct DeviceCtlBlk *dcb;
	struct DeviceCtlBlk *tmp;
	dprintkdbg(DBG_1, "adapter_remove_and_free_all_devices: num=%i\n",
		   list_size(&acb->dcb_list));
	list_for_each_entry_safe(dcb, tmp, &acb->dcb_list, list)
		adapter_remove_and_free_device(acb, dcb);
}