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

Commit 4e7d7af4 authored by Tobias Klauser's avatar Tobias Klauser Committed by James Bottomley
Browse files

[SCSI] zfcp: Remove redundant unlikely()



IS_ERR() already implies unlikely(), so it can be omitted here.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarChristof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: default avatarSteffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent c7f7fd5b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}