diff options
author | Rami Rosen <ramirose@gmail.com> | 2009-03-18 18:50:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-18 18:50:09 -0700 |
commit | beedad923ad6237f03265fdf86eb8a1b50d14ae9 (patch) | |
tree | 14de83c72e68bcae559616f45da16dd990065cd0 /net/ipv4 | |
parent | 9bdd8d40c8c59435664af6049dabe24b7779b203 (diff) | |
download | linux-3.10-beedad923ad6237f03265fdf86eb8a1b50d14ae9.tar.gz linux-3.10-beedad923ad6237f03265fdf86eb8a1b50d14ae9.tar.bz2 linux-3.10-beedad923ad6237f03265fdf86eb8a1b50d14ae9.zip |
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/ipv4')
-rw-r--r-- | net/ipv4/tcp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 1c4d42ff72b..2451aeb5ac2 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -1082,8 +1082,7 @@ out_err: */ static int tcp_recv_urg(struct sock *sk, long timeo, - struct msghdr *msg, int len, int flags, - int *addr_len) + struct msghdr *msg, int len, int flags) { struct tcp_sock *tp = tcp_sk(sk); @@ -1698,7 +1697,7 @@ out: return err; recv_urg: - err = tcp_recv_urg(sk, timeo, msg, len, flags, addr_len); + err = tcp_recv_urg(sk, timeo, msg, len, flags); goto out; } |