From patchwork Wed Sep 29 05:30:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stephen hemminger X-Patchwork-Id: 66044 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id A97BBB711A for ; Wed, 29 Sep 2010 15:30:25 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751798Ab0I2FaV (ORCPT ); Wed, 29 Sep 2010 01:30:21 -0400 Received: from mail.vyatta.com ([76.74.103.46]:58751 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750903Ab0I2FaV (ORCPT ); Wed, 29 Sep 2010 01:30:21 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 7FED11829211; Tue, 28 Sep 2010 22:23:50 -0700 (PDT) X-Virus-Scanned: amavisd-new at tahiti.vyatta.com Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3uopQ9l+ZuAg; Tue, 28 Sep 2010 22:23:49 -0700 (PDT) Received: from s6510 (r011042.203112.miinet.jp [203.112.11.42]) by mail.vyatta.com (Postfix) with ESMTPSA id 0D1621829210; Tue, 28 Sep 2010 22:23:48 -0700 (PDT) Date: Wed, 29 Sep 2010 14:30:14 +0900 From: Stephen Hemminger To: David Miller Cc: netdev@vger.kernel.org Subject: [PATCH net-next] tcp: tcp_enter_quickack_mode can be static Message-ID: <20100929143014.7f32cec3@s6510> Organization: Vyatta X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Function only used in tcp_input.c Signed-off-by: Stephen Hemminger --- include/net/tcp.h | 2 -- net/ipv4/tcp_input.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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