Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55477206 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 158abbf1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
#include <linux/gfp.h>
#include <net/tcp.h>

u32 tcp_retransmit_stamp(const struct sock *sk)
static u32 tcp_retransmit_stamp(const struct sock *sk)
{
	u32 start_ts = tcp_sk(sk)->retrans_stamp;