aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2006-11-15 03:44:49 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:23:47 -0500
commit078250d68d883495f31d0e6ce8321292f2dc1cfa (patch)
treeb8047d96bfa0aef0d0a1b0709d9545aceef00de9 /net/ipv4/udp.c
parent7d9e9b3df491d5e1c3ed76c5cff7ace6094124c1 (diff)
[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 <gerrit@erg.abdn.ac.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c2
1 files changed, 1 insertions, 1 deletions
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,
448/* 448/*
449 * Push out all pending data as one UDP datagram. Socket is locked. 449 * Push out all pending data as one UDP datagram. Socket is locked.
450 */ 450 */
451int udp_push_pending_frames(struct sock *sk, struct udp_sock *up) 451static int udp_push_pending_frames(struct sock *sk, struct udp_sock *up)
452{ 452{
453 struct inet_sock *inet = inet_sk(sk); 453 struct inet_sock *inet = inet_sk(sk);
454 struct flowi *fl = &inet->cork.fl; 454 struct flowi *fl = &inet->cork.fl;