From: Gerrit Renker Date: Wed, 15 Nov 2006 08:44:49 +0000 (-0800) Subject: [NET/IPv4]: Make udp_push_pending_frames static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=078250d68d883495f31d0e6ce8321292f2dc1cfa;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [NET/IPv4]: Make udp_push_pending_frames static udp_push_pending_frames is only referenced within net/ipv4/udp.c and hence can remain static. Signed-off-by: Gerrit Renker Signed-off-by: David S. Miller --- diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index dc19ba1e73b5..7eb76fbf1b4b 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -448,7 +448,7 @@ static void udp4_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb, /* * Push out all pending data as one UDP datagram. Socket is locked. */ -int udp_push_pending_frames(struct sock *sk, struct udp_sock *up) +static int udp_push_pending_frames(struct sock *sk, struct udp_sock *up) { struct inet_sock *inet = inet_sk(sk); struct flowi *fl = &inet->cork.fl;