netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] SCTP: Remove useless assignment from __sctp_rcv_lookup_endpoint
@ 2008-04-01  6:11 Gui Jianfeng
  2008-04-10  9:00 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Gui Jianfeng @ 2008-04-01  6:11 UTC (permalink / raw)
  To: David Miller, vladislav; +Cc: netdev, lksctp-dev

Remove useless assignment from __sctp_rcv_lookup_endpoint

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
---
 net/sctp/input.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/net/sctp/input.c b/net/sctp/input.c
index 812ff17..1878d82 100644
--- a/net/sctp/input.c
+++ b/net/sctp/input.c
@@ -725,7 +725,6 @@ static struct sctp_endpoint *__sctp_rcv_lookup_endpoint(const union sctp_addr *l
 	}
 
 	ep = sctp_sk((sctp_get_ctl_sock()))->ep;
-	epb = &ep->base;
 
 hit:
 	sctp_endpoint_hold(ep);
-- 
1.5.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] SCTP: Remove useless assignment from __sctp_rcv_lookup_endpoint
  2008-04-01  6:11 [PATCH] SCTP: Remove useless assignment from __sctp_rcv_lookup_endpoint Gui Jianfeng
@ 2008-04-10  9:00 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-04-10  9:00 UTC (permalink / raw)
  To: guijianfeng; +Cc: vladislav.yasevich, netdev, lksctp-developers

From: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Date: Tue, 01 Apr 2008 14:11:28 +0800

> Remove useless assignment from __sctp_rcv_lookup_endpoint
> 
> Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>

Applied to net-2.6.26, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-10  9:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01  6:11 [PATCH] SCTP: Remove useless assignment from __sctp_rcv_lookup_endpoint Gui Jianfeng
2008-04-10  9:00 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).