Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b76a721 authored by Christof Schmitt's avatar Christof Schmitt Committed by James Bottomley
Browse files

[SCSI] zfcp: Remove braces for only one statement



Remove braces for only one statement

Signed-off-by: default avatarChristof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: default avatarSwen Schillig <swen@vnet.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 6ddd90a5
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -189,11 +189,10 @@ static void zfcp_scsi_slave_destroy(struct scsi_device *sdpnt)
		unit->device = NULL;
		zfcp_erp_unit_failed(unit);
		zfcp_unit_put(unit);
	} else {
	} else
		ZFCP_LOG_NORMAL("bug: no unit associated with SCSI device at "
				"address %p\n", sdpnt);
}
}

/* 
 * called from scsi midlayer to allow finetuning of a device.
@@ -361,13 +360,12 @@ zfcp_unit_lookup(struct zfcp_adapter *adapter, int channel, unsigned int id,
	list_for_each_entry(port, &adapter->port_list_head, list) {
		if (!port->rport || (id != port->rport->scsi_target_id))
			continue;
		list_for_each_entry(unit, &port->unit_list_head, list) {
		list_for_each_entry(unit, &port->unit_list_head, list)
			if (lun == unit->scsi_lun) {
				retval = unit;
				goto out;
			}
	}
	}
 out:
	return retval;
}