diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-15 03:44:49 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:23:47 -0500 |
commit | 078250d68d883495f31d0e6ce8321292f2dc1cfa (patch) | |
tree | b8047d96bfa0aef0d0a1b0709d9545aceef00de9 /net | |
parent | 7d9e9b3df491d5e1c3ed76c5cff7ace6094124c1 (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')
-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 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 | */ |
451 | int udp_push_pending_frames(struct sock *sk, struct udp_sock *up) | 451 | static 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; |