提交 709525fa 编写于 作者: E Eric Dumazet 提交者: David S. Miller

[IPV6]: Get rid of __HAVE_ARCH_ADDR_SET.

__HAVE_ARCH_ADDR_SET seems unused these days, just get rid of it.
Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dc87c398
...@@ -328,7 +328,6 @@ static inline void ipv6_addr_prefix(struct in6_addr *pfx, ...@@ -328,7 +328,6 @@ static inline void ipv6_addr_prefix(struct in6_addr *pfx,
memset(pfx->s6_addr + o, 0, 16 - o); memset(pfx->s6_addr + o, 0, 16 - o);
} }
#ifndef __HAVE_ARCH_ADDR_SET
static inline void ipv6_addr_set(struct in6_addr *addr, static inline void ipv6_addr_set(struct in6_addr *addr,
__be32 w1, __be32 w2, __be32 w1, __be32 w2,
__be32 w3, __be32 w4) __be32 w3, __be32 w4)
...@@ -338,7 +337,6 @@ static inline void ipv6_addr_set(struct in6_addr *addr, ...@@ -338,7 +337,6 @@ static inline void ipv6_addr_set(struct in6_addr *addr,
addr->s6_addr32[2] = w3; addr->s6_addr32[2] = w3;
addr->s6_addr32[3] = w4; addr->s6_addr32[3] = w4;
} }
#endif
static inline int ipv6_addr_equal(const struct in6_addr *a1, static inline int ipv6_addr_equal(const struct in6_addr *a1,
const struct in6_addr *a2) const struct in6_addr *a2)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册