diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-12-17 09:58:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:24 -0500 |
commit | a07a5a86d091699fd5e791765b8a79e6b1ef96cb (patch) | |
tree | 95540f4a233271a8066b01f339c853a8277f12fe /net | |
parent | 52515e77a7a69867c479db4c9efb6be832b82179 (diff) |
[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: 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>
Diffstat (limited to 'net')
-rw-r--r-- | net/dccp/dccp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index b138e2019d78..ebe59d98721a 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -153,12 +153,6 @@ static inline u64 max48(const u64 seq1, const u64 seq2) | |||
153 | return after48(seq1, seq2) ? seq1 : seq2; | 153 | return after48(seq1, seq2) ? seq1 : seq2; |
154 | } | 154 | } |
155 | 155 | ||
156 | /* is seq1 next seqno after seq2 */ | ||
157 | static inline int follows48(const u64 seq1, const u64 seq2) | ||
158 | { | ||
159 | return dccp_delta_seqno(seq2, seq1) == 1; | ||
160 | } | ||
161 | |||
162 | enum { | 156 | enum { |
163 | DCCP_MIB_NUM = 0, | 157 | DCCP_MIB_NUM = 0, |
164 | DCCP_MIB_ACTIVEOPENS, /* ActiveOpens */ | 158 | DCCP_MIB_ACTIVEOPENS, /* ActiveOpens */ |