DORMANTno replies

[PATCH 2/3] IPV6: remove unused variable

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-07-04 09:37:01

Hello.

2/3: remove unused variable

This patch, depends on "[PATCH 1/3] IPV6: ignore on-link 
information without on-link flag set," removes unused
variable in prefix informatio handler.

Thanks.
--- linux-2.5/net/ipv6/addrconf.c~	Fri Jul  4 17:57:05 2003
+++ linux-2.5/net/ipv6/addrconf.c	Fri Jul  4 17:56:28 2003
@@ -1380,10 +1380,7 @@
 	if (pinfo->autoconf && in6_dev->cnf.autoconf) {
 		struct inet6_ifaddr * ifp;
 		struct in6_addr addr;
-		int plen;
 		int create = 0;
-
-		plen = pinfo->prefix_len >> 3;
 
 		if (pinfo->prefix_len == 64) {
 			memcpy(&addr, &pinfo->prefix, 8);

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help