From: Stephen Hemminger <shemminger@vyatta.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH net-next] tcp: tcp_enter_quickack_mode can be static
Date: Wed, 29 Sep 2010 14:30:14 +0900 [thread overview]
Message-ID: <20100929143014.7f32cec3@s6510> (raw)
Function only used in tcp_input.c
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
---
include/net/tcp.h | 2 --
net/ipv4/tcp_input.c | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
--- a/net/ipv4/tcp_input.c 2010-09-29 14:00:54.145805254 +0900
+++ b/net/ipv4/tcp_input.c 2010-09-29 14:24:27.595831651 +0900
@@ -182,7 +182,7 @@ static void tcp_incr_quickack(struct soc
icsk->icsk_ack.quick = min(quickacks, TCP_MAX_QUICKACKS);
}
-void tcp_enter_quickack_mode(struct sock *sk)
+static void tcp_enter_quickack_mode(struct sock *sk)
{
struct inet_connection_sock *icsk = inet_csk(sk);
tcp_incr_quickack(sk);
--- a/include/net/tcp.h 2010-09-29 14:27:53.543307029 +0900
+++ b/include/net/tcp.h 2010-09-29 14:28:10.435891279 +0900
@@ -346,8 +346,6 @@ static inline void tcp_dec_quickack_mode
}
}
-extern void tcp_enter_quickack_mode(struct sock *sk);
-
#define TCP_ECN_OK 1
#define TCP_ECN_QUEUE_CWR 2
#define TCP_ECN_DEMAND_CWR 4
next reply other threads:[~2010-09-29 5:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 5:30 Stephen Hemminger [this message]
2010-09-30 2:46 ` [PATCH net-next] tcp: tcp_enter_quickack_mode can be static 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=20100929143014.7f32cec3@s6510 \
--to=shemminger@vyatta.com \
--cc=davem@davemloft.net \
--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;
as well as URLs for NNTP newsgroup(s).