[PATCH 2/2] 9p: remove redundant variable initialization in net/9p/mod.c

From: Dmitri Vorobiev
Date: Sun Apr 13 2008 - 18:44:28 EST


There is no need to explicitly initialize the global variable
p9_debug_level by assigning zero value to it.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@xxxxxxxxx>
---
net/9p/mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/9p/mod.c b/net/9p/mod.c
index c285aab..d3c5329 100644
--- a/net/9p/mod.c
+++ b/net/9p/mod.c
@@ -33,7 +33,7 @@
#include <linux/list.h>

#ifdef CONFIG_NET_9P_DEBUG
-unsigned int p9_debug_level = 0; /* feature-rific global debug level */
+unsigned int p9_debug_level; /* feature-rific global debug level */
EXPORT_SYMBOL(p9_debug_level);
module_param_named(debug, p9_debug_level, uint, 0);
MODULE_PARM_DESC(debug, "9P debugging level");
--
1.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/