summaryrefslogtreecommitdiff
path: root/include/net/addrconf.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-11-04 18:53:27 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-05 03:17:27 +0300
commit27c565ae9d554fa1c00c799754cff43476c8d3b5 (patch)
tree91a10204e5f8ccb06b8b1fea22fcfe9d0649656b /include/net/addrconf.h
parentdf7e8e2e3e59fe29c24f09d7c3b68e732d661af3 (diff)
downloadlinux-27c565ae9d554fa1c00c799754cff43476c8d3b5.tar.xz
ipv6: remove IN6_ADDR_HSIZE from addrconf.h
IN6_ADDR_HSIZE is private to addrconf.c, move it here to avoid confusion. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r--include/net/addrconf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index 3357332ea375..b623b65a79d1 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -59,9 +59,6 @@ struct in6_validator_info {
struct netlink_ext_ack *extack;
};
-#define IN6_ADDR_HSIZE_SHIFT 8
-#define IN6_ADDR_HSIZE (1 << IN6_ADDR_HSIZE_SHIFT)
-
int addrconf_init(void);
void addrconf_cleanup(void);