Commit 511db023 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[IPV6] remove unused variable

parent c519e7cb
...@@ -1380,11 +1380,8 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len) ...@@ -1380,11 +1380,8 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len)
if (pinfo->autoconf && in6_dev->cnf.autoconf) { if (pinfo->autoconf && in6_dev->cnf.autoconf) {
struct inet6_ifaddr * ifp; struct inet6_ifaddr * ifp;
struct in6_addr addr; struct in6_addr addr;
int plen;
int create = 0; int create = 0;
plen = pinfo->prefix_len >> 3;
if (pinfo->prefix_len == 64) { if (pinfo->prefix_len == 64) {
memcpy(&addr, &pinfo->prefix, 8); memcpy(&addr, &pinfo->prefix, 8);
if (ipv6_generate_eui64(addr.s6_addr + 8, dev) && if (ipv6_generate_eui64(addr.s6_addr + 8, dev) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment