diff options
Diffstat (limited to 'net/8021q/vlan.h')
-rw-r--r-- | net/8021q/vlan.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index 7b615d6b6f46..56378651cc46 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h | |||
@@ -3,31 +3,6 @@ | |||
3 | 3 | ||
4 | #include <linux/if_vlan.h> | 4 | #include <linux/if_vlan.h> |
5 | 5 | ||
6 | /* Uncomment this if you want debug traces to be shown. */ | ||
7 | /* #define VLAN_DEBUG */ | ||
8 | |||
9 | #define VLAN_ERR KERN_ERR | ||
10 | #define VLAN_INF KERN_INFO | ||
11 | #define VLAN_DBG KERN_ALERT /* change these... to debug, having a hard time | ||
12 | * changing the log level at run-time..for some reason. | ||
13 | */ | ||
14 | |||
15 | /* | ||
16 | |||
17 | These I use for memory debugging. I feared a leak at one time, but | ||
18 | I never found it..and the problem seems to have dissappeared. Still, | ||
19 | I'll bet they might prove useful again... --Ben | ||
20 | |||
21 | |||
22 | #define VLAN_MEM_DBG(x, y, z) printk(VLAN_DBG "%s: " x, __FUNCTION__, y, z); | ||
23 | #define VLAN_FMEM_DBG(x, y) printk(VLAN_DBG "%s: " x, __FUNCTION__, y); | ||
24 | */ | ||
25 | |||
26 | /* This way they don't do anything! */ | ||
27 | #define VLAN_MEM_DBG(x, y, z) | ||
28 | #define VLAN_FMEM_DBG(x, y) | ||
29 | |||
30 | |||
31 | extern unsigned short vlan_name_type; | 6 | extern unsigned short vlan_name_type; |
32 | 7 | ||
33 | #define VLAN_GRP_HASH_SHIFT 5 | 8 | #define VLAN_GRP_HASH_SHIFT 5 |