mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user