2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00

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>
This commit is contained in:
Rami Rosen 2009-03-18 18:50:09 -07:00 committed by David S. Miller
parent 9bdd8d40c8
commit beedad923a

View File

@ -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;
}