summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-01-15 09:25:39 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-01-15 09:25:39 +0000
commit183e973d5263fd72717a360385c6220f609a93e9 (patch)
tree3b5dfd85beb4a4a375a87464c981615ec2521545
parent0de8edfb07df25875e2743ce683b694ae52ea408 (diff)
Remove assigned but never read value.
ok stsp@
-rw-r--r--sys/netinet6/in6.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index 5b9973da5b8..2a4976c74fd 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.c,v 1.128 2014/01/13 23:03:52 bluhm Exp $ */
+/* $OpenBSD: in6.c,v 1.129 2014/01/15 09:25:38 mpi Exp $ */
/* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */
/*
@@ -136,16 +136,13 @@ void
in6_ifloop_request(int cmd, struct ifaddr *ifa)
{
struct rt_addrinfo info;
- struct sockaddr_in6 lo_sa;
struct sockaddr_in6 all1_sa;
struct rtentry *nrt = NULL;
int e;
- bzero(&lo_sa, sizeof(lo_sa));
bzero(&all1_sa, sizeof(all1_sa));
- lo_sa.sin6_family = all1_sa.sin6_family = AF_INET6;
- lo_sa.sin6_len = all1_sa.sin6_len = sizeof(struct sockaddr_in6);
- lo_sa.sin6_addr = in6addr_loopback;
+ all1_sa.sin6_family = AF_INET6;
+ all1_sa.sin6_len = sizeof(struct sockaddr_in6);
all1_sa.sin6_addr = in6mask128;
/*