From: Heiko Carstens Date: Tue, 28 Aug 2007 07:30:42 +0000 (+0200) Subject: [SCSI] zfcp: avoid if (whatever) ; constructs. X-Git-Tag: v2.6.24-rc1~1290^2~150 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cc16cebad086090891a3f39957ec771a2292359b;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Swen Schillig Signed-off-by: James Bottomley --- diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c index d8cd75ce2d9..40fa056e257 100644 --- a/drivers/s390/scsi/zfcp_erp.c +++ b/drivers/s390/scsi/zfcp_erp.c @@ -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; }