Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760677AbXJXQbg (ORCPT ); Wed, 24 Oct 2007 12:31:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759103AbXJXQXc (ORCPT ); Wed, 24 Oct 2007 12:23:32 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:33363 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759094AbXJXQX3 (ORCPT ); Wed, 24 Oct 2007 12:23:29 -0400 Date: Wed, 24 Oct 2007 18:23:58 +0200 From: Adrian Bunk To: Ilpo =?utf-8?B?SsOkcnZpbmVu?= Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [2.6 patch] make tcp_match_skb_to_sack() static Message-ID: <20071024162358.GA30533@stusta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 27 tcp_match_skb_to_sack() can become static. Signed-off-by: Adrian Bunk --- b734b439219a6251b7deb65dad2307f9c891f680 diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 9288220..603400d 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -1204,8 +1204,8 @@ static int tcp_check_dsack(struct tcp_sock *tp, struct sk_buff *ack_skb, * which may fail and creates some hassle (caller must handle error case * returns). */ -int tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb, - u32 start_seq, u32 end_seq) +static int tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb, + u32 start_seq, u32 end_seq) { int in_sack, err; unsigned int pkt_len; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/