diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ipv6.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index f70afef9c3cc..2ce3941d8993 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -328,7 +328,6 @@ static inline void ipv6_addr_prefix(struct in6_addr *pfx, | |||
328 | memset(pfx->s6_addr + o, 0, 16 - o); | 328 | memset(pfx->s6_addr + o, 0, 16 - o); |
329 | } | 329 | } |
330 | 330 | ||
331 | #ifndef __HAVE_ARCH_ADDR_SET | ||
332 | static inline void ipv6_addr_set(struct in6_addr *addr, | 331 | static inline void ipv6_addr_set(struct in6_addr *addr, |
333 | __be32 w1, __be32 w2, | 332 | __be32 w1, __be32 w2, |
334 | __be32 w3, __be32 w4) | 333 | __be32 w3, __be32 w4) |
@@ -338,7 +337,6 @@ static inline void ipv6_addr_set(struct in6_addr *addr, | |||
338 | addr->s6_addr32[2] = w3; | 337 | addr->s6_addr32[2] = w3; |
339 | addr->s6_addr32[3] = w4; | 338 | addr->s6_addr32[3] = w4; |
340 | } | 339 | } |
341 | #endif | ||
342 | 340 | ||
343 | static inline int ipv6_addr_equal(const struct in6_addr *a1, | 341 | static inline int ipv6_addr_equal(const struct in6_addr *a1, |
344 | const struct in6_addr *a2) | 342 | const struct in6_addr *a2) |