diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-01-26 11:11:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 13:53:27 +0000 |
commit | 1303f8f0df242ce8869375d82341f4302fe859be (patch) | |
tree | 475376e320757a059f063c351f9068b32f80ecb5 /net | |
parent | 8b2d546e23bb3588f897089368b5f09e49f7762d (diff) |
dccp: remove max48()
Not used since v2.6.37.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/dccp/dccp.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 5183e627468d..671c377f0889 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h @@ -136,11 +136,6 @@ static inline int between48(const u64 seq1, const u64 seq2, const u64 seq3) return (seq3 << 16) - (seq2 << 16) >= (seq1 << 16) - (seq2 << 16); } -static inline u64 max48(const u64 seq1, const u64 seq2) -{ - return after48(seq1, seq2) ? seq1 : seq2; -} - /** * dccp_loss_count - Approximate the number of lost data packets in a burst loss * @s1: last known sequence number before the loss ('hole') |