projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdd8d4
)
tcp: remove parameter from tcp_recv_urg().
author
Rami Rosen
<ramirose@gmail.com>
Thu, 19 Mar 2009 01:50:09 +0000
(18:50 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Mar 2009 01:50:09 +0000
(18:50 -0700)
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>
net/ipv4/tcp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index 1c4d42ff72bda834a72eb7bddea446a98b5e32dc..2451aeb5ac23c72fc3fd99963aa07054d58e98c5 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-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;
}