projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dfcae7
)
[DCCP]: Remove unneeded pointer newdp from dccp_v4_request_recv_sock()
author
Micah Gruber
<micah.gruber@gmail.com>
Wed, 5 Sep 2007 14:58:14 +0000
(07:58 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:59 +0000
(16:48 -0700)
This trivial patch removes the unneeded pointer newdp, which is never used.
Signed-off-by: Micah Gruber <micah.gruber@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv4.c
patch
|
blob
|
history
diff --git
a/net/dccp/ipv4.c
b/net/dccp/ipv4.c
index
718f2fa
..
2c62828
100644
(file)
--- a/
net/dccp/ipv4.c
+++ b/
net/dccp/ipv4.c
@@
-381,7
+381,6
@@
struct sock *dccp_v4_request_recv_sock(struct sock *sk, struct sk_buff *skb,
{
struct inet_request_sock *ireq;
struct inet_sock *newinet;
- struct dccp_sock *newdp;
struct sock *newsk;
if (sk_acceptq_is_full(sk))
@@
-396,7
+395,6
@@
struct sock *dccp_v4_request_recv_sock(struct sock *sk, struct sk_buff *skb,
sk_setup_caps(newsk, dst);
- newdp = dccp_sk(newsk);
newinet = inet_sk(newsk);
ireq = inet_rsk(req);
newinet->daddr = ireq->rmt_addr;