Skip to content

Commit

Permalink
staging/rtl8192u: don't init globals to 0 or NULL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Hahn authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent fdc64a9 commit c4cda30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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)
Expand Down

0 comments on commit c4cda30

Please sign in to comment.