mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
fcst: Remove two comments from ft_prli_locked()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4957 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -407,7 +407,7 @@ static int ft_prli_locked(struct fc_rport_priv *rdata, u32 spp_len,
|
||||
/*
|
||||
* If both target and initiator bits are off, the SPP is invalid.
|
||||
*/
|
||||
fcp_parm = ntohl(rspp->spp_params); /* requested parameters */
|
||||
fcp_parm = ntohl(rspp->spp_params);
|
||||
if (!(fcp_parm & (FCP_SPPF_INIT_FCN | FCP_SPPF_TARG_FCN)))
|
||||
return FC_SPP_RESP_INVL;
|
||||
|
||||
@@ -442,7 +442,7 @@ static int ft_prli_locked(struct fc_rport_priv *rdata, u32 spp_len,
|
||||
* Don't force RETRY on the initiator, though.
|
||||
*/
|
||||
fill:
|
||||
fcp_parm = ntohl(spp->spp_params); /* response parameters */
|
||||
fcp_parm = ntohl(spp->spp_params);
|
||||
spp->spp_params = htonl(fcp_parm | FCP_SPPF_TARG_FCN);
|
||||
return FC_SPP_RESP_ACK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user