summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-11-06 23:32:26 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:53:32 -0800
commit6ff7751d06f63131830102ffa0c9a38b313f100e (patch)
tree304f6cfae108868a6f793f91cea86c6a8cf0e6d3
parenta0974dd3da87667e26ef5d3b32989a43319866f2 (diff)
downloadlinux-6ff7751d06f63131830102ffa0c9a38b313f100e.tar.gz
linux-6ff7751d06f63131830102ffa0c9a38b313f100e.tar.bz2
linux-6ff7751d06f63131830102ffa0c9a38b313f100e.zip
[TCP]: Make tcp_splice_data_recv() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 56ed40703f98..e055f25876df 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -515,8 +515,8 @@ static inline void tcp_push(struct sock *sk, int flags, int mss_now,
}
}
-int tcp_splice_data_recv(read_descriptor_t *rd_desc, struct sk_buff *skb,
- unsigned int offset, size_t len)
+static int tcp_splice_data_recv(read_descriptor_t *rd_desc, struct sk_buff *skb,
+ unsigned int offset, size_t len)
{
struct tcp_splice_state *tss = rd_desc->arg.data;