aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2009-03-18 21:50:09 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-18 21:50:09 -0400
commitbeedad923ad6237f03265fdf86eb8a1b50d14ae9 (patch)
tree14de83c72e68bcae559616f45da16dd990065cd0 /net
parent9bdd8d40c8c59435664af6049dabe24b7779b203 (diff)
tcp: remove parameter from tcp_recv_urg().
This patch removes an unused parameter (addr_len) from tcp_recv_urg() method in net/ipv4/tcp.c. Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 1c4d42ff72bd..2451aeb5ac23 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1082,8 +1082,7 @@ out_err:
1082 */ 1082 */
1083 1083
1084static int tcp_recv_urg(struct sock *sk, long timeo, 1084static int tcp_recv_urg(struct sock *sk, long timeo,
1085 struct msghdr *msg, int len, int flags, 1085 struct msghdr *msg, int len, int flags)
1086 int *addr_len)
1087{ 1086{
1088 struct tcp_sock *tp = tcp_sk(sk); 1087 struct tcp_sock *tp = tcp_sk(sk);
1089 1088
@@ -1698,7 +1697,7 @@ out:
1698 return err; 1697 return err;
1699 1698
1700recv_urg: 1699recv_urg:
1701 err = tcp_recv_urg(sk, timeo, msg, len, flags, addr_len); 1700 err = tcp_recv_urg(sk, timeo, msg, len, flags);
1702 goto out; 1701 goto out;
1703} 1702}
1704 1703