8021q: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Joe Perches
2014-03-12 10:04:15 -07:00
committed by David S. Miller
parent b338ce270e
commit f0e78826e4
2 changed files with 4 additions and 4 deletions

View File

@@ -38,9 +38,9 @@ struct vlan_info {
static inline unsigned int vlan_proto_idx(__be16 proto)
{
switch (proto) {
case __constant_htons(ETH_P_8021Q):
case htons(ETH_P_8021Q):
return VLAN_PROTO_8021Q;
case __constant_htons(ETH_P_8021AD):
case htons(ETH_P_8021AD):
return VLAN_PROTO_8021AD;
default:
BUG();