aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/ieee80211
diff options
context:
space:
mode:
authorSebastian Hahn <snsehahn@cip.cs.fau.de>2012-12-05 21:40:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 12:53:41 -0800
commitc4cda304692ce6e6610b4302ea69a08a5070e4f2 (patch)
treeb7a7770b447a84b80078f3ecf41cda156e06af00 /drivers/staging/rtl8192u/ieee80211
parentstaging/rtl8192u: indent with tabs, not spaces (diff)
downloadlinux-dev-c4cda304692ce6e6610b4302ea69a08a5070e4f2.tar.xz
linux-dev-c4cda304692ce6e6610b4302ea69a08a5070e4f2.zip
staging/rtl8192u: don't init globals to 0 or NULL
Fix a couple of instances where checkpatch complained about initializing globals with 0. Signed-off-by: Sebastian Hahn <snsehahn@cip.cs.fau.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index c673adc1be97..76c56e5aed79 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -220,7 +220,7 @@ void free_ieee80211(struct net_device *dev)
#ifdef CONFIG_IEEE80211_DEBUG
-u32 ieee80211_debug_level = 0;
+u32 ieee80211_debug_level;
static int debug = \
// IEEE80211_DL_INFO |
// IEEE80211_DL_WX |
@@ -241,7 +241,7 @@ static int debug = \
//IEEE80211_DL_DATA |
IEEE80211_DL_ERR //awayls open this flags to show error out
;
-struct proc_dir_entry *ieee80211_proc = NULL;
+struct proc_dir_entry *ieee80211_proc;
static int show_debug_level(char *page, char **start, off_t offset,
int count, int *eof, void *data)