/* This is removed from the raid_device_list link list.  */
static void _scsih_raid_device_remove(struct MPT2SAS_ADAPTER *ioc, struct _raid_device *raid_device)
/* This is removed from the raid_device_list link list.  */
static void _scsih_raid_device_remove(struct MPT2SAS_ADAPTER *ioc, struct _raid_device *raid_device)
{
	unsigned long flags;
	spin_lock_irqsave(&ioc->raid_device_lock, flags);
	list_del(&raid_device->list);
	memset(raid_device, 0, sizeof(struct _raid_device));
	kfree(raid_device);
	spin_unlock_irqrestore(&ioc->raid_device_lock, flags);
}