diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-12-31 07:50:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:00:23 -0500 |
commit | 4828e7f49a402930e8b3e72de695c8d37e0f98ee (patch) | |
tree | 021c5d357b8a081bee8b8798e362b37999ee1ffb /include/net/tcp.h | |
parent | cadbd0313bc897f5917d013174cdf9077edf4aa5 (diff) |
[TCP]: Remove TCPCB_URG & TCPCB_AT_TAIL as unnecessary
The snd_up check should be enough. I suspect this has been
there to provide a minor optimization in clean_rtx_queue which
used to have a small if (!->sacked) block which could skip
snd_up check among the other work.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 6a732d4919fe..48081ada92a7 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -578,10 +578,6 @@ struct tcp_skb_cb { | |||
578 | #define TCPCB_EVER_RETRANS 0x80 /* Ever retransmitted frame */ | 578 | #define TCPCB_EVER_RETRANS 0x80 /* Ever retransmitted frame */ |
579 | #define TCPCB_RETRANS (TCPCB_SACKED_RETRANS|TCPCB_EVER_RETRANS) | 579 | #define TCPCB_RETRANS (TCPCB_SACKED_RETRANS|TCPCB_EVER_RETRANS) |
580 | 580 | ||
581 | #define TCPCB_URG 0x20 /* Urgent pointer advanced here */ | ||
582 | |||
583 | #define TCPCB_AT_TAIL (TCPCB_URG) | ||
584 | |||
585 | __u16 urg_ptr; /* Valid w/URG flags is set. */ | 581 | __u16 urg_ptr; /* Valid w/URG flags is set. */ |
586 | __u32 ack_seq; /* Sequence number ACK'd */ | 582 | __u32 ack_seq; /* Sequence number ACK'd */ |
587 | }; | 583 | }; |