From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, dccp@vger.kernel.org,
Gerrit Renker <gerrit@erg.abdn.ac.uk>,
Ian McDonald <ian.mcdonald@jandi.co.nz>,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: [PATCH 5/5] [DCCP]: Remove unused inline function
Date: Mon, 17 Dec 2007 13:00:19 -0200 [thread overview]
Message-ID: <1197903619-12301-6-git-send-email-acme@redhat.com> (raw)
In-Reply-To: <1197903619-12301-5-git-send-email-acme@redhat.com>
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
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>
---
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 b138e20..ebe59d9 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)
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 */
--
1.5.3.6
next prev parent reply other threads:[~2007-12-17 15:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 15:00 [PATCHES 0/5]: DCCP patches for 2.6.25 Arnaldo Carvalho de Melo
2007-12-17 15:00 ` [PATCH 1/5] [CCID3]: Use a function to update p_inv, and p is never used Arnaldo Carvalho de Melo
2007-12-17 15:00 ` [PATCH 2/5] [CCID3]: Remove two irrelevant states in TX feedback handling Arnaldo Carvalho de Melo
2007-12-17 15:00 ` [PATCH 3/5] [CCID3]: Implement rfc3448bis changes to feedback reception Arnaldo Carvalho de Melo
2007-12-17 15:00 ` [PATCH 4/5] [CCID3]: Nofeedback timer according to rfc3448bis Arnaldo Carvalho de Melo
2007-12-17 15:00 ` Arnaldo Carvalho de Melo [this message]
2007-12-18 7:02 ` [PATCHES 0/5]: DCCP patches for 2.6.25 David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1197903619-12301-6-git-send-email-acme@redhat.com \
--to=acme@redhat.com \
--cc=davem@davemloft.net \
--cc=dccp@vger.kernel.org \
--cc=gerrit@erg.abdn.ac.uk \
--cc=ian.mcdonald@jandi.co.nz \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox