diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2011-04-15 15:14:45 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2011-04-15 15:14:45 +0000 |
commit | e16debc53dd11cac07ba6b44c59e9b7daedfdfd2 (patch) | |
tree | ed39a29e3b3ac5fbdafa2dfe60a39abc736d311e /sys/netinet6 | |
parent | 3479b8c882e63841c796c4d7227d74dee20ec6ed (diff) |
Remove dead assignment.
Found by LLVM/Clang Static Analyzer.
ok claudio@
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/mld6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index 9912af79787..768d6cecf8d 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mld6.c,v 1.26 2010/03/22 12:23:32 jsg Exp $ */ +/* $OpenBSD: mld6.c,v 1.27 2011/04/15 15:14:44 chl Exp $ */ /* $KAME: mld6.c,v 1.26 2001/02/16 14:50:35 itojun Exp $ */ /* @@ -160,7 +160,7 @@ mld6_stop_listening(struct in6_multi *in6m) void mld6_input(struct mbuf *m, int off) { - struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); + struct ip6_hdr *ip6; struct mld_hdr *mldh; struct ifnet *ifp = m->m_pkthdr.rcvif; struct in6_multi *in6m; |