[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46DE42D9.2040200@gmail.com>
Date: Wed, 05 Sep 2007 13:47:05 +0800
From: Micah Gruber <micah.gruber@...il.com>
To: linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: [PATCH] Remove unneeded pointer newdp from dccp_v4_request_recv_sock()
in net/dccp/ipv4.c
This trivial patch removes the unneeded pointer newdp, which is never used.
Signed-off-by: Micah Gruber <micah.gruber@...il.com>
---
--- a/net/dccp/ipv4.c 2007-09-04 23:18:42.000000000 +0800
+++ b/net/dccp/ipv4.c 2007-09-05 00:49:54.000000000 +0800
@@ -381,7 +381,6 @@
{
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 @@
sk_setup_caps(newsk, dst);
- newdp = dccp_sk(newsk);
newinet = inet_sk(newsk);
ireq = inet_rsk(req);
newinet->daddr = ireq->rmt_addr;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists