Patchwork [net-2.6] ipv4: remove parameter from tcp_recv_urg().

login
register
mail settings
Submitter Rami Rosen
Date March 16, 2009, 9:57 a.m.
Message ID <eb3ff54b0903160257n707ceddfr1a56c75b7911c1e7@mail.gmail.com>
Download mbox | patch
Permalink /patch/24485/
State Accepted
Delegated to: David Miller
Headers show

Comments

Rami Rosen - March 16, 2009, 9:57 a.m.
Hi,
This patch removes an unused parameter (addr_len) from tcp_recv_urg() method in
net/ipv4/tcp.c.

Regards,
Rami Rosen


Signed-off-by: Rami Rosen <ramirose@gmail.com>
David Miller - March 19, 2009, 1:50 a.m.
From: Rami Rosen <ramirose@gmail.com>
Date: Mon, 16 Mar 2009 11:57:20 +0200

> 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>

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 --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 76b148b..fd48bbb 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1045,8 +1045,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);
 
@@ -1661,7 +1660,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;
 }