diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-12-16 13:53:15 +0800 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-01-12 20:58:23 +1000 |
commit | 0c430d0d7b8bafa74959a84156ef0bda1417a3d4 (patch) | |
tree | 32e476273adc485ffe0e5f8751086219ef8b94af /net/batman-adv/types.h | |
parent | 9338026107166b54d54ef875978c9c3dca3aaee5 (diff) |
batman-adv: unbloat batadv_priv if debug is not enabled
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r-- | net/batman-adv/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 441880a0caa..d8061ac2840 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -284,12 +284,16 @@ struct batadv_priv { atomic_t gw_bandwidth; /* gw bandwidth */ atomic_t orig_interval; /* uint */ atomic_t hop_penalty; /* uint */ +#ifdef CONFIG_BATMAN_ADV_DEBUG atomic_t log_level; /* uint */ +#endif atomic_t bcast_seqno; atomic_t bcast_queue_left; atomic_t batman_queue_left; char num_ifaces; +#ifdef CONFIG_BATMAN_ADV_DEBUG struct batadv_debug_log *debug_log; +#endif struct kobject *mesh_obj; struct dentry *debug_dir; struct hlist_head forw_bat_list; |