]> granicus.if.org Git - ipset/commitdiff
netfilter: Convert uses of __constant_<foo> to <foo>
authorJoe Perches <joe@perches.com>
Mon, 3 Nov 2014 16:37:26 +0000 (17:37 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 3 Nov 2014 16:37:26 +0000 (17:37 +0100)
The use of __constant_<foo> has been unnecessary for quite awhile now.

Make these uses consistent with the rest of the kernel.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
kernel/net/netfilter/ipset/pfxlen.c

index e69f5ef9a0abb1a7527b38e83d2f72f6898f2449..ff23f26fb2dd4dea7e3b2bd12563ecb0ca53787d 100644 (file)
@@ -10,8 +10,8 @@
 
 #define E(a, b, c, d) \
        {.ip6 = { \
-               __constant_htonl(a), __constant_htonl(b), \
-               __constant_htonl(c), __constant_htonl(d), \
+               htonl(a), htonl(b), \
+               htonl(c), htonl(d), \
        } }
 
 /*