Commit beedad92 authored by Rami Rosen's avatar Rami Rosen Committed by David S. Miller

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: default avatarRami Rosen <ramirose@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9bdd8d40
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment