change tcp_pcb->acked to be a global variable: used in one call stack only (idea by Ambroz Bizjak)

This commit is contained in:
goldsimon
2016-07-19 10:38:01 +02:00
parent c641ae3d3d
commit 6adeb706a6
2 changed files with 23 additions and 23 deletions

View File

@@ -264,8 +264,6 @@ struct tcp_pcb {
tcpwnd_size_t snd_wnd; /* sender window */
tcpwnd_size_t snd_wnd_max; /* the maximum sender window announced by the remote host */
tcpwnd_size_t acked;
tcpwnd_size_t snd_buf; /* Available buffer space for sending (in bytes). */
#define TCP_SNDQUEUELEN_OVERFLOW (0xffffU-3)
u16_t snd_queuelen; /* Number of pbufs currently in the send buffer. */