Skip to content

Commit

Permalink
ipv4: remove unused parameter from tcp_recv_urg().
Browse files Browse the repository at this point in the history
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
ramirosen authored and davem330 committed Mar 31, 2009
1 parent eeb5f5c commit 377f0a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1081,8 +1081,7 @@ int tcp_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
* this, no blocking and very strange errors 8)
*/

static int tcp_recv_urg(struct sock *sk, long timeo,
struct msghdr *msg, int len, int flags)
static int tcp_recv_urg(struct sock *sk, struct msghdr *msg, int len, int flags)
{
struct tcp_sock *tp = tcp_sk(sk);

Expand Down Expand Up @@ -1697,7 +1696,7 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
return err;

recv_urg:
err = tcp_recv_urg(sk, timeo, msg, len, flags);
err = tcp_recv_urg(sk, msg, len, flags);
goto out;
}

Expand Down

0 comments on commit 377f0a0

Please sign in to comment.