From: Gerrit Renker Date: Wed, 15 Nov 2006 08:44:49 +0000 (-0800) Subject: [NET/IPv4]: Make udp_push_pending_frames static X-Git-Tag: v2.6.20-rc1~34^2~40^2~300 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=078250d68d883495f31d0e6ce8321292f2dc1cfa;p=linux-2.6 [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 dc19ba1e73..7eb76fbf1b 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;