]> err.no Git - linux-2.6/commitdiff
[DCCP]: Remove unused inline function
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 17 Dec 2007 14:58:04 +0000 (12:58 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:24 +0000 (14:58 -0800)
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>
net/dccp/dccp.h

index b138e2019d78e7dc8c8afd277cc606a7c7b16c67..ebe59d98721a58a934b89ca1143c96b45d3dec9a 100644 (file)
@@ -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 */