[TCP]: Make tcp_splice_data_recv() static.
Adrian Bunk [Wed, 7 Nov 2007 07:32:26 +0000 (23:32 -0800)]
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>

net/ipv4/tcp.c

index 56ed407..e055f25 100644 (file)
@@ -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;