diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-12-16 06:53:15 +0100 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-01-12 11:58:23 +0100 |
commit | 0c430d0d7b8bafa74959a84156ef0bda1417a3d4 (patch) | |
tree | 32e476273adc485ffe0e5f8751086219ef8b94af /net/batman-adv/debugfs.c | |
parent | batman-adv: remove unused variable from orig_node struct (diff) | |
download | linux-0c430d0d7b8bafa74959a84156ef0bda1417a3d4.tar.xz linux-0c430d0d7b8bafa74959a84156ef0bda1417a3d4.zip |
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/debugfs.c')
-rw-r--r-- | net/batman-adv/debugfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/batman-adv/debugfs.c b/net/batman-adv/debugfs.c index 5136d32bc9b9..55a90078dc66 100644 --- a/net/batman-adv/debugfs.c +++ b/net/batman-adv/debugfs.c @@ -229,7 +229,6 @@ static void batadv_debug_log_cleanup(struct batadv_priv *bat_priv) #else /* CONFIG_BATMAN_ADV_DEBUG */ static int batadv_debug_log_setup(struct batadv_priv *bat_priv) { - bat_priv->debug_log = NULL; return 0; } |