* [PATCH net-2.6 ] ipv4: remove parameter from tcp_recv_urg().
@ 2009-03-16 9:57 Rami Rosen
2009-03-19 1:50 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2009-03-16 9:57 UTC (permalink / raw)
To: davem; +Cc: netdev
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
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>
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 538 bytes --]
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;
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-2.6 ] ipv4: remove parameter from tcp_recv_urg().
2009-03-16 9:57 [PATCH net-2.6 ] ipv4: remove parameter from tcp_recv_urg() Rami Rosen
@ 2009-03-19 1:50 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-03-19 1:50 UTC (permalink / raw)
To: ramirose; +Cc: netdev
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-19 1:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-16 9:57 [PATCH net-2.6 ] ipv4: remove parameter from tcp_recv_urg() Rami Rosen
2009-03-19 1:50 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).