Skip to content

Commit

Permalink
[SCSI] ibmvscsi: Remove redundant test on unsigned.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roel Kluin authored and James Bottomley committed May 23, 2009
1 parent 1da2019 commit 16b3858
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/scsi/ibmvscsi/ibmvscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 16b3858

Please sign in to comment.