diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-15 00:44:49 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:23:47 -0800 |
commit | 078250d68d883495f31d0e6ce8321292f2dc1cfa (patch) | |
tree | b8047d96bfa0aef0d0a1b0709d9545aceef00de9 /net/ipv4/udp.c | |
parent | 7d9e9b3df491d5e1c3ed76c5cff7ace6094124c1 (diff) | |
download | op-kernel-dev-078250d68d883495f31d0e6ce8321292f2dc1cfa.zip op-kernel-dev-078250d68d883495f31d0e6ce8321292f2dc1cfa.tar.gz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index dc19ba1..7eb76fb 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; |