diff options
author | Rami Rosen <ramirose@gmail.com> | 2008-01-09 03:35:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:11 -0500 |
commit | 06eaa1a01d033bd5fd298b010334034f93021fbe (patch) | |
tree | 4467ccab6b5ef4320acd9da5bde221e91164eea5 /net | |
parent | b3fd3ffe39d830e7c24ef63b7f28703b485da2e3 (diff) |
[BRIDGE]: Remove unused macros from ebt_vlan.c
Remove two unused macros, INV_FLAG and SET_BITMASK
from net/bridge/netfilter/ebt_vlan.c.
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/bridge/netfilter/ebt_vlan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bridge/netfilter/ebt_vlan.c b/net/bridge/netfilter/ebt_vlan.c index a43c697d3d73..0ddf7499d496 100644 --- a/net/bridge/netfilter/ebt_vlan.c +++ b/net/bridge/netfilter/ebt_vlan.c | |||
@@ -37,9 +37,7 @@ MODULE_LICENSE("GPL"); | |||
37 | 37 | ||
38 | 38 | ||
39 | #define DEBUG_MSG(args...) if (debug) printk (KERN_DEBUG "ebt_vlan: " args) | 39 | #define DEBUG_MSG(args...) if (debug) printk (KERN_DEBUG "ebt_vlan: " args) |
40 | #define INV_FLAG(_inv_flag_) (info->invflags & _inv_flag_) ? "!" : "" | ||
41 | #define GET_BITMASK(_BIT_MASK_) info->bitmask & _BIT_MASK_ | 40 | #define GET_BITMASK(_BIT_MASK_) info->bitmask & _BIT_MASK_ |
42 | #define SET_BITMASK(_BIT_MASK_) info->bitmask |= _BIT_MASK_ | ||
43 | #define EXIT_ON_MISMATCH(_MATCH_,_MASK_) {if (!((info->_MATCH_ == _MATCH_)^!!(info->invflags & _MASK_))) return EBT_NOMATCH;} | 41 | #define EXIT_ON_MISMATCH(_MATCH_,_MASK_) {if (!((info->_MATCH_ == _MATCH_)^!!(info->invflags & _MASK_))) return EBT_NOMATCH;} |
44 | 42 | ||
45 | static int | 43 | static int |