Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7261872 authored by Micah Gruber's avatar Micah Gruber Committed by David S. Miller
Browse files

[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: default avatarMicah Gruber <micah.gruber@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1dfcae77
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;