Skip to content

Commit

Permalink
[DCCP]: Remove unused inline function
Browse files Browse the repository at this point in the history
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: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Gerrit Renker authored and David S. Miller committed Jan 28, 2008
1 parent 52515e7 commit a07a5a8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions net/dccp/dccp.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,6 @@ static inline u64 max48(const u64 seq1, const u64 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 {
DCCP_MIB_NUM = 0,
DCCP_MIB_ACTIVEOPENS, /* ActiveOpens */
Expand Down

0 comments on commit a07a5a8

Please sign in to comment.