diff options
author | Bryant G. Ly <bryantly@linux.vnet.ibm.com> | 2016-09-16 17:25:56 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-09-19 18:51:59 +0300 |
commit | 96c11dd2f0d76dc316d3810bfe824b12c70e4701 (patch) | |
tree | 736447a517749d9a838315927c9a37a77a9e4d68 /drivers/scsi/ibmvscsi_tgt | |
parent | 7bc2b55a5c030685b399bb65b6baa9ccc3d1f167 (diff) | |
download | linux-96c11dd2f0d76dc316d3810bfe824b12c70e4701.tar.xz |
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.c | 3 |
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. |