diff options
author | Dan Williams <dan.j.williams@intel.com> | 2013-12-30 20:12:07 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2014-09-28 10:22:21 -0400 |
commit | 3f334078567245429540e6461c81c749fce87f70 (patch) | |
tree | 103372c10a443aa7fbd2014bc4a3810a31be82c2 /net/ipv4/tcp.c | |
parent | d27f9bc104375a0a835cf68bb88fc9cec69125da (diff) |
net: make tcp_cleanup_rbuf private
net_dma was the only external user so this can become local to tcp.c
again.
Cc: James Morris <jmorris@namei.org>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 28595a364f09..4874a0efd34a 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -1377,7 +1377,7 @@ static int tcp_peek_sndq(struct sock *sk, struct msghdr *msg, int len) | |||
1377 | * calculation of whether or not we must ACK for the sake of | 1377 | * calculation of whether or not we must ACK for the sake of |
1378 | * a window update. | 1378 | * a window update. |
1379 | */ | 1379 | */ |
1380 | void tcp_cleanup_rbuf(struct sock *sk, int copied) | 1380 | static void tcp_cleanup_rbuf(struct sock *sk, int copied) |
1381 | { | 1381 | { |
1382 | struct tcp_sock *tp = tcp_sk(sk); | 1382 | struct tcp_sock *tp = tcp_sk(sk); |
1383 | bool time_to_ack = false; | 1383 | bool time_to_ack = false; |