aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-10-29 09:46:47 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 12:24:13 -0500
commit50ed9a005dc0846685f57c637436ee28e404368d (patch)
treecf317b50ac7ccd0316d07291c6834053b417c038 /drivers/scsi
parent10e794996ed00a0f09ff0745f87e3a3dd5de4606 (diff)
[SCSI] ibmvfc: Quiet gcc warning in ibmvfc_reset_device
Stops gcc from complaining about a possible uninitialized variable being used in ibmvfc_reset_device. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c
index 844684581e45..9fead7f19e22 100644
--- a/drivers/scsi/ibmvscsi/ibmvfc.c
+++ b/drivers/scsi/ibmvscsi/ibmvfc.c
@@ -1631,7 +1631,7 @@ static int ibmvfc_reset_device(struct scsi_device *sdev, int type, char *desc)
1631 struct ibmvfc_host *vhost = shost_priv(sdev->host); 1631 struct ibmvfc_host *vhost = shost_priv(sdev->host);
1632 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); 1632 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
1633 struct ibmvfc_cmd *tmf; 1633 struct ibmvfc_cmd *tmf;
1634 struct ibmvfc_event *evt; 1634 struct ibmvfc_event *evt = NULL;
1635 union ibmvfc_iu rsp_iu; 1635 union ibmvfc_iu rsp_iu;
1636 struct ibmvfc_fcp_rsp *fc_rsp = &rsp_iu.cmd.rsp; 1636 struct ibmvfc_fcp_rsp *fc_rsp = &rsp_iu.cmd.rsp;
1637 int rsp_rc = -EBUSY; 1637 int rsp_rc = -EBUSY;