fcst: Eliminate ft_cmd.xfer_rdy_len

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4180 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-04-02 16:56:22 +00:00
parent 8d6b924765
commit f0d32375ed
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -102,7 +102,6 @@ struct ft_cmd {
struct fc_frame *req_frame; /* original request frame */
u32 write_data_len; /* data received from initiator */
u32 read_data_len; /* data sent to initiator */
u32 xfer_rdy_len; /* max xfer ready offset */
u32 max_lso_payload; /* max offloaded (LSO) data payload */
u16 max_payload; /* max transmitted data payload */
struct scst_cmd *scst_cmd;
-2
View File
@@ -380,8 +380,6 @@ static int ft_send_xfer_rdy_off(struct scst_cmd *cmd, u32 offset, u32 len)
struct fc_exch *ep;
fcmd = scst_cmd_get_tgt_priv(cmd);
if (fcmd->xfer_rdy_len < len + offset)
fcmd->xfer_rdy_len = len + offset;
ep = fc_seq_exch(fcmd->seq);
lport = ep->lp;