summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi_tgt
diff options
context:
space:
mode:
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>2016-09-16 16:25:56 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-19 17:51:59 +0200
commit96c11dd2f0d76dc316d3810bfe824b12c70e4701 (patch)
tree736447a517749d9a838315927c9a37a77a9e4d68 /drivers/scsi/ibmvscsi_tgt
parentscsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer() (diff)
downloadlinux-96c11dd2f0d76dc316d3810bfe824b12c70e4701.tar.xz
linux-96c11dd2f0d76dc316d3810bfe824b12c70e4701.zip
scsi: ibmvscsis: Fixed unused variable
[mkp: applied by hand] Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com> Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi_tgt')
-rw-r--r--drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c b/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
index 38b086ee7d7e..642b739ad0da 100644
--- a/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
+++ b/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
@@ -3186,9 +3186,6 @@ static int ibmvscsis_rdma(struct ibmvscsis_cmd *cmd, struct scatterlist *sg,
vscsi->dds.window[LOCAL].liobn,
server_ioba);
} else {
- /* write to client */
- struct srp_cmd *srp = (struct srp_cmd *)iue->sbuf->buf;
-
/* The h_copy_rdma will cause phyp, running in another
* partition, to read memory, so we need to make sure
* the data has been written out, hence these syncs.