[PATCH] Remove unneeded pointer newdp from dccp_v4_request_recv_sock()in net/dccp/ipv4.c
From: Micah Gruber
Date: Wed Sep 05 2007 - 01:46:14 EST
This trivial patch removes the unneeded pointer newdp, which is never used.
Signed-off-by: Micah Gruber <micah.gruber@xxxxxxxxx>
---
--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/