aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_fsf.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-02-22 13:54:38 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-02-25 12:00:36 -0500
commit4e7d7af4dfea65b50b0fc694e3febc202e4e9839 (patch)
tree4331b7bd0d50e6bdbc798458f4ea804e2e2129f0 /drivers/s390/scsi/zfcp_fsf.c
parentc7f7fd5b7ea114e0f85fc4f2a853f6564410588d (diff)
[SCSI] zfcp: Remove redundant unlikely()
IS_ERR() already implies unlikely(), so it can be omitted here. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.c')
-rw-r--r--drivers/s390/scsi/zfcp_fsf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c
index 60ff9d172c79..14a427457fa1 100644
--- a/drivers/s390/scsi/zfcp_fsf.c
+++ b/drivers/s390/scsi/zfcp_fsf.c
@@ -1552,7 +1552,7 @@ int zfcp_fsf_open_wka_port(struct zfcp_fc_wka_port *wka_port)
1552 SBAL_FLAGS0_TYPE_READ, 1552 SBAL_FLAGS0_TYPE_READ,
1553 qdio->adapter->pool.erp_req); 1553 qdio->adapter->pool.erp_req);
1554 1554
1555 if (unlikely(IS_ERR(req))) { 1555 if (IS_ERR(req)) {
1556 retval = PTR_ERR(req); 1556 retval = PTR_ERR(req);
1557 goto out; 1557 goto out;
1558 } 1558 }
@@ -1605,7 +1605,7 @@ int zfcp_fsf_close_wka_port(struct zfcp_fc_wka_port *wka_port)
1605 SBAL_FLAGS0_TYPE_READ, 1605 SBAL_FLAGS0_TYPE_READ,
1606 qdio->adapter->pool.erp_req); 1606 qdio->adapter->pool.erp_req);
1607 1607
1608 if (unlikely(IS_ERR(req))) { 1608 if (IS_ERR(req)) {
1609 retval = PTR_ERR(req); 1609 retval = PTR_ERR(req);
1610 goto out; 1610 goto out;
1611 } 1611 }