]> Pileus Git - ~andy/linux/commitdiff
[SCSI] zfcp: Remove redundant unlikely()
authorTobias Klauser <tklauser@distanz.ch>
Tue, 22 Feb 2011 18:54:38 +0000 (19:54 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 25 Feb 2011 17:00:36 +0000 (12:00 -0500)
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>
drivers/s390/scsi/zfcp_fsf.c

index 60ff9d172c79a60b56a7c9f1ec2970ffea4dde69..14a427457fa17e38ec4a2b7ee16c02748d411bda 100644 (file)
@@ -1552,7 +1552,7 @@ int zfcp_fsf_open_wka_port(struct zfcp_fc_wka_port *wka_port)
                                  SBAL_FLAGS0_TYPE_READ,
                                  qdio->adapter->pool.erp_req);
 
-       if (unlikely(IS_ERR(req))) {
+       if (IS_ERR(req)) {
                retval = PTR_ERR(req);
                goto out;
        }
@@ -1605,7 +1605,7 @@ int zfcp_fsf_close_wka_port(struct zfcp_fc_wka_port *wka_port)
                                  SBAL_FLAGS0_TYPE_READ,
                                  qdio->adapter->pool.erp_req);
 
-       if (unlikely(IS_ERR(req))) {
+       if (IS_ERR(req)) {
                retval = PTR_ERR(req);
                goto out;
        }