diff options
| author | Micah Gruber <micah.gruber@gmail.com> | 2007-09-05 10:58:14 -0400 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:48:59 -0400 |
| commit | c7261872256f9172eb26438b96725b6f2115e955 (patch) | |
| tree | 17988b691ca95e81a6c4f1da83f9759a654c548a /net/dccp | |
| parent | 1dfcae776548f464bee793d06484be275ba8efe7 (diff) | |
[DCCP]: Remove unneeded pointer newdp from dccp_v4_request_recv_sock()
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>
Diffstat (limited to 'net/dccp')
| -rw-r--r-- | net/dccp/ipv4.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 718f2fa923..2c62828152 100644 --- 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, | |||
| 381 | { | 381 | { |
| 382 | struct inet_request_sock *ireq; | 382 | struct inet_request_sock *ireq; |
| 383 | struct inet_sock *newinet; | 383 | struct inet_sock *newinet; |
| 384 | struct dccp_sock *newdp; | ||
| 385 | struct sock *newsk; | 384 | struct sock *newsk; |
| 386 | 385 | ||
| 387 | if (sk_acceptq_is_full(sk)) | 386 | if (sk_acceptq_is_full(sk)) |
| @@ -396,7 +395,6 @@ struct sock *dccp_v4_request_recv_sock(struct sock *sk, struct sk_buff *skb, | |||
| 396 | 395 | ||
| 397 | sk_setup_caps(newsk, dst); | 396 | sk_setup_caps(newsk, dst); |
| 398 | 397 | ||
| 399 | newdp = dccp_sk(newsk); | ||
| 400 | newinet = inet_sk(newsk); | 398 | newinet = inet_sk(newsk); |
| 401 | ireq = inet_rsk(req); | 399 | ireq = inet_rsk(req); |
| 402 | newinet->daddr = ireq->rmt_addr; | 400 | newinet->daddr = ireq->rmt_addr; |
