aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2010-04-09 17:22:33 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 15:02:33 -0400
commit3b719d01617288f4c11307fcb933997d7ca895c3 (patch)
treeef32a4a92838107a17b539f50963f1347af1f9c6 /drivers/scsi
parent03d29bc1d58dcfc2fa30aed7af199f24444c2052 (diff)
[SCSI] libfc: remove unneeded variables in fc_exch_recv_req()
fc_exch_recv_req has variables eof, sof, and f_ctl, which are set but never used. Delete them. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/libfc/fc_exch.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index d0496dafd84..daff880e426 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -1241,9 +1241,6 @@ static void fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp,
1241 struct fc_frame_header *fh = fc_frame_header_get(fp); 1241 struct fc_frame_header *fh = fc_frame_header_get(fp);
1242 struct fc_seq *sp = NULL; 1242 struct fc_seq *sp = NULL;
1243 struct fc_exch *ep = NULL; 1243 struct fc_exch *ep = NULL;
1244 enum fc_sof sof;
1245 enum fc_eof eof;
1246 u32 f_ctl;
1247 enum fc_pf_rjt_reason reject; 1244 enum fc_pf_rjt_reason reject;
1248 1245
1249 /* We can have the wrong fc_lport at this point with NPIV, which is a 1246 /* We can have the wrong fc_lport at this point with NPIV, which is a
@@ -1260,9 +1257,6 @@ static void fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp,
1260 if (reject == FC_RJT_NONE) { 1257 if (reject == FC_RJT_NONE) {
1261 sp = fr_seq(fp); /* sequence will be held */ 1258 sp = fr_seq(fp); /* sequence will be held */
1262 ep = fc_seq_exch(sp); 1259 ep = fc_seq_exch(sp);
1263 sof = fr_sof(fp);
1264 eof = fr_eof(fp);
1265 f_ctl = ntoh24(fh->fh_f_ctl);
1266 fc_seq_send_ack(sp, fp); 1260 fc_seq_send_ack(sp, fp);
1267 1261
1268 /* 1262 /*