mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
fcst: Suppress a set-but-not-used variable warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7558 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -862,15 +862,13 @@ static void ft_cmd_ls_rjt(struct fc_frame *rx_fp, enum fc_els_rjt_reason reason,
|
||||
lport->tt.seq_send(lport, sp, fp);
|
||||
#else
|
||||
struct fc_seq_els_data rjt_data;
|
||||
struct fc_lport *lport;
|
||||
|
||||
lport = fr_dev(rx_fp);
|
||||
rjt_data.reason = reason;
|
||||
rjt_data.explan = explan;
|
||||
#ifdef NEW_LIBFC_API
|
||||
fc_seq_els_rsp_send(rx_fp, ELS_LS_RJT, &rjt_data);
|
||||
#else
|
||||
lport->tt.seq_els_rsp_send(rx_fp, ELS_LS_RJT, &rjt_data);
|
||||
fr_dev(rx_fp)->tt.seq_els_rsp_send(rx_fp, ELS_LS_RJT, &rjt_data);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user