Commit 1303f8f0 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

dccp: remove max48()

Not used since v2.6.37.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b2d546e
...@@ -136,11 +136,6 @@ static inline int between48(const u64 seq1, const u64 seq2, const u64 seq3) ...@@ -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); 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 * dccp_loss_count - Approximate the number of lost data packets in a burst loss
* @s1: last known sequence number before the loss ('hole') * @s1: last known sequence number before the loss ('hole')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment