[net-2.6] ipv4: remove unused parameter from tcp_recv_urg().
diff mbox

Message ID eb3ff54b0903300711l34b6f883kda27683b344bbcac@mail.gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Rami Rosen March 30, 2009, 2:11 p.m. UTC
Hi,
This patch removes an unused parameter (timeo) from tcp_recv_urg() method in
net/ipv4/tcp.c.

Regards,
Rami Rosen


Signed-off-by: Rami Rosen <ramirose@gmail.com>

Comments

David Miller March 31, 2009, 9:43 p.m. UTC | #1
From: Rami Rosen <ramirose@gmail.com>
Date: Mon, 30 Mar 2009 17:11:30 +0300

> This patch removes an unused parameter (timeo) from tcp_recv_urg() method in
> net/ipv4/tcp.c.
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 2451aeb..fafbec8 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1081,8 +1081,7 @@  out_err:
  *	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);
 
@@ -1697,7 +1696,7 @@  out:
 	return err;
 
 recv_urg:
-	err = tcp_recv_urg(sk, timeo, msg, len, flags);
+	err = tcp_recv_urg(sk, msg, len, flags);
 	goto out;
 }