[SCSI] ibmvscsi: Remove redundant test on unsigned.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 11:01 am

Gitweb:     http://git.kernel.org/linus/16b3858ec967f4d9817f6958cc7a0bf1222355f3
Commit:     16b3858ec967f4d9817f6958cc7a0bf1222355f3
Parent:     1da2019fffc65c02a613305919bac28c9bdfaf99
Author:     Roel Kluin <roel.kluin@gmail.com>
AuthorDate: Sat May 2 22:14:54 2009 +0200
Committer:  James Bottomley <James.Bottomley@HansenPartnership.com>
CommitDate: Sat May 23 15:44:06 2009 -0500

    [SCSI] ibmvscsi: Remove redundant test on unsigned.
    
    Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
    Acked by: Brian King <brking@linux.vnet.ibm.com>
    Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
---
 drivers/scsi/ibmvscsi/ibmvscsi.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c
index c9aa761..8d3925f 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.c
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.c
@@ -910,9 +910,6 @@ static void login_rsp(struct srp_event_struct *evt_struct)
 
 	dev_info(hostdata->dev, "SRP_LOGIN succeeded\n");
 
-	if (evt_struct->xfer_iu->srp.login_rsp.req_lim_delta < 0)
-		dev_err(hostdata->dev, "Invalid request_limit.\n");
-
 	/* Now we know what the real request-limit is.
 	 * This value is set rather than added to request_limit because
 	 * request_limit could have been set to -1 by this client.
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[SCSI] ibmvscsi: Remove redundant test on unsigned., Linux Kernel Mailing ..., (Fri Jun 12, 11:01 am)