[BRIDGE]: netfilter dont use __constant_htons
authorStephen Hemminger <shemminger@osdl.org>
Tue, 21 Mar 2006 06:57:46 +0000 (22:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:57:46 +0000 (22:57 -0800)
commitf8a26028611fb93ac935ac32a72793f7fcb56a88
tree90c7d08c6f1ef47a1eeb108e0d566315061f9ffa
parent789bc3e5b66d3664f651f6c10a188c8e3e025037
[BRIDGE]: netfilter dont use __constant_htons

Only use__constant_htons() for initializers and switch cases.
For other uses, it is just as efficient and clearer to use htons

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c