net: tcp: Remove fin_queued flag from struct net_tcp
This flag was set but never used. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
This commit is contained in:
parent
515788648a
commit
9e329c7997
2 changed files with 1 additions and 5 deletions
|
@ -360,8 +360,6 @@ static void queue_fin(struct net_context *ctx)
|
|||
return;
|
||||
}
|
||||
|
||||
ctx->tcp->fin_queued = 1;
|
||||
|
||||
ret = net_tcp_send_pkt(pkt);
|
||||
if (ret < 0) {
|
||||
net_pkt_unref(pkt);
|
||||
|
|
|
@ -128,8 +128,6 @@ struct net_tcp {
|
|||
u32_t flags : 8;
|
||||
/** Current TCP state */
|
||||
u32_t state : 4;
|
||||
/* A FIN packet has been queued for transmission */
|
||||
u32_t fin_queued : 1;
|
||||
/* An outbound FIN packet has been sent */
|
||||
u32_t fin_sent : 1;
|
||||
/* An inbound FIN packet has been received */
|
||||
|
@ -140,7 +138,7 @@ struct net_tcp {
|
|||
*/
|
||||
u32_t ack_timer_cancelled : 1;
|
||||
/** Remaining bits in this u32_t */
|
||||
u32_t _padding : 11;
|
||||
u32_t _padding : 12;
|
||||
|
||||
/** Accept callback to be called when the connection has been
|
||||
* established.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue