]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
[IPV6]: Get rid of __HAVE_ARCH_ADDR_SET.
authorEric Dumazet <dada1@cosmosbay.com>
Thu, 3 May 2007 10:08:43 +0000 (03:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2007 10:08:43 +0000 (03:08 -0700)
__HAVE_ARCH_ADDR_SET seems unused these days, just get rid of it.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h

index f70afef9c3cc9fde793fdf3aa29bb0de23742cdf..2ce3941d8993bcbb349863b2576d86060203f149 100644 (file)
@@ -328,7 +328,6 @@ static inline void ipv6_addr_prefix(struct in6_addr *pfx,
                memset(pfx->s6_addr + o, 0, 16 - o);
 }
 
-#ifndef __HAVE_ARCH_ADDR_SET
 static inline void ipv6_addr_set(struct in6_addr *addr, 
                                     __be32 w1, __be32 w2,
                                     __be32 w3, __be32 w4)
@@ -338,7 +337,6 @@ static inline void ipv6_addr_set(struct in6_addr *addr,
        addr->s6_addr32[2] = w3;
        addr->s6_addr32[3] = w4;
 }
-#endif
 
 static inline int ipv6_addr_equal(const struct in6_addr *a1,
                                  const struct in6_addr *a2)