/* If a I2O device is removed, we catch the notification to remove the corresponding SCSI device.  */
static void i2o_scsi_notify_device_remove(struct i2o_device *i2o_dev)
/* If a I2O device is removed, we catch the notification to remove the corresponding SCSI device.  */
static void i2o_scsi_notify_device_remove(struct i2o_device *i2o_dev)
{
	switch (i2o_dev->lct_data.class_id) {
	case I2O_CLASS_EXECUTIVE:
	case I2O_CLASS_RANDOM_BLOCK_STORAGE:
		i2o_scsi_remove(&i2o_dev->device);
		break;
	default:
		break;
	}
}