aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-07-25 02:06:07 -0400
committerDavid S. Miller <davem@davemloft.net>2018-07-25 19:35:45 -0400
commit55477206f15cf725178be23344179bd83f773c7b (patch)
treee50df4dbac8d9448432267b48a0377bfbfbfd276 /net/ipv4/tcp_timer.c
parent158abbf170ecfc6d56abeddd0c66da753b3435df (diff)
tcp: make function tcp_retransmit_stamp() static
Fixes the following sparse warnings: net/ipv4/tcp_timer.c:25:5: warning: symbol 'tcp_retransmit_stamp' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
-rw-r--r--net/ipv4/tcp_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c
index a242f8874629..7fdf222a0bdf 100644
--- a/net/ipv4/tcp_timer.c
+++ b/net/ipv4/tcp_timer.c
@@ -22,7 +22,7 @@
22#include <linux/gfp.h> 22#include <linux/gfp.h>
23#include <net/tcp.h> 23#include <net/tcp.h>
24 24
25u32 tcp_retransmit_stamp(const struct sock *sk) 25static u32 tcp_retransmit_stamp(const struct sock *sk)
26{ 26{
27 u32 start_ts = tcp_sk(sk)->retrans_stamp; 27 u32 start_ts = tcp_sk(sk)->retrans_stamp;
28 28