Commit a07a5a86 authored by Gerrit Renker's avatar Gerrit Renker Committed by David S. Miller

[DCCP]: Remove unused inline function

The function follows48(), which is a special-case of dccp_delta_seqno(),
is nowhere used in the DCCP code, thus removed by this patch.
Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: default avatarIan McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 52515e77
...@@ -153,12 +153,6 @@ static inline u64 max48(const u64 seq1, const u64 seq2) ...@@ -153,12 +153,6 @@ static inline u64 max48(const u64 seq1, const u64 seq2)
return after48(seq1, seq2) ? seq1 : seq2; return after48(seq1, seq2) ? seq1 : seq2;
} }
/* is seq1 next seqno after seq2 */
static inline int follows48(const u64 seq1, const u64 seq2)
{
return dccp_delta_seqno(seq2, seq1) == 1;
}
enum { enum {
DCCP_MIB_NUM = 0, DCCP_MIB_NUM = 0,
DCCP_MIB_ACTIVEOPENS, /* ActiveOpens */ DCCP_MIB_ACTIVEOPENS, /* ActiveOpens */
......
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