aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc
diff options
context:
space:
mode:
authorHillf Danton <dhillf@gmail.com>2011-07-27 18:10:49 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-07-28 04:12:27 -0400
commit85982127273be0474e9505c0aac35973a0a013f8 (patch)
tree879b02d5327a6803e29d6b6b2050f80435e9ceae /drivers/scsi/libfc
parent547fb12b7a1c8de6bb57a68553f2319430a3541a (diff)
[SCSI] libfc: cleanup sending SRR request
The variable on stack, namely cdb_op, is not used but removed. [ Patch reworked by Robert Love due to invalid patch format ] Signed-off-by: Hillf Danton <dhillf@gmail.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r--drivers/scsi/libfc/fc_fcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c
index 57311d082f44..14dd1215de7f 100644
--- a/drivers/scsi/libfc/fc_fcp.c
+++ b/drivers/scsi/libfc/fc_fcp.c
@@ -1645,12 +1645,10 @@ static void fc_fcp_srr(struct fc_fcp_pkt *fsp, enum fc_rctl r_ctl, u32 offset)
1645 struct fc_seq *seq; 1645 struct fc_seq *seq;
1646 struct fcp_srr *srr; 1646 struct fcp_srr *srr;
1647 struct fc_frame *fp; 1647 struct fc_frame *fp;
1648 u8 cdb_op;
1649 unsigned int rec_tov; 1648 unsigned int rec_tov;
1650 1649
1651 rport = fsp->rport; 1650 rport = fsp->rport;
1652 rpriv = rport->dd_data; 1651 rpriv = rport->dd_data;
1653 cdb_op = fsp->cdb_cmd.fc_cdb[0];
1654 1652
1655 if (!(rpriv->flags & FC_RP_FLAGS_RETRY) || 1653 if (!(rpriv->flags & FC_RP_FLAGS_RETRY) ||
1656 rpriv->rp_state != RPORT_ST_READY) 1654 rpriv->rp_state != RPORT_ST_READY)