forked from luck/tmp_suning_uos_patched
[SCSI] zfcp: avoid if (whatever) ; constructs.
Avoid "if (whatever) ;" constructs since they seem to confuse people, even if there is a comment. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
2282f65891
commit
cc16cebad0
@ -1687,8 +1687,8 @@ zfcp_erp_strategy_followup_actions(int action,
|
||||
break;
|
||||
|
||||
case ZFCP_ERP_ACTION_REOPEN_UNIT:
|
||||
if (status == ZFCP_ERP_SUCCEEDED) ; /* no further action */
|
||||
else
|
||||
/* Nothing to do if status == ZFCP_ERP_SUCCEEDED */
|
||||
if (status != ZFCP_ERP_SUCCEEDED)
|
||||
zfcp_erp_port_reopen_internal(unit->port, 0);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user