diff options
author | Joe Perches <joe@perches.com> | 2014-03-12 21:04:19 +0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-03-13 17:13:19 +0400 |
commit | b80edf0b52e1023d849e5eca8539570304fb4390 (patch) | |
tree | 20081b7f7b074a598753a2b5002b1976789db006 /net/netfilter/xt_AUDIT.c | |
parent | 14e1a977767e95ca48504975efff2bdf1b198ca0 (diff) | |
download | linux-b80edf0b52e1023d849e5eca8539570304fb4390.tar.xz |
netfilter: Convert uses of __constant_<foo> to <foo>
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>
Diffstat (limited to 'net/netfilter/xt_AUDIT.c')
-rw-r--r-- | net/netfilter/xt_AUDIT.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/xt_AUDIT.c b/net/netfilter/xt_AUDIT.c index 3228d7f24eb4..4973cbddc446 100644 --- a/net/netfilter/xt_AUDIT.c +++ b/net/netfilter/xt_AUDIT.c @@ -146,11 +146,11 @@ audit_tg(struct sk_buff *skb, const struct xt_action_param *par) if (par->family == NFPROTO_BRIDGE) { switch (eth_hdr(skb)->h_proto) { - case __constant_htons(ETH_P_IP): + case htons(ETH_P_IP): audit_ip4(ab, skb); break; - case __constant_htons(ETH_P_IPV6): + case htons(ETH_P_IPV6): audit_ip6(ab, skb); break; } |