linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Hahn <snsehahn@cip.cs.fau.de>
To: gregkh@linuxfoundation.org
Cc: Jennifer.Naumann@informatik.stud.uni-erlangen.de,
	dan.carpenter@oracle.com, standby24x7@gmail.com,
	Julia.Lawall@lip6.fr, jkosina@suse.cz, joe@perches.com,
	yongjun_wei@trendmicro.com.cn, adam.buchbinder@gmail.com,
	amwang@redhat.com, justinmattock@gmail.com, wfp5p@virginia.edu,
	jim.cromie@gmail.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	linux-kernel@i4.informatik.uni-erlangen.de,
	Sebastian Hahn <snsehahn@cip.cs.fau.de>
Subject: [PATCH 4/6] staging/rtl8192u: don't init globals to 0 or NULL
Date: Wed,  5 Dec 2012 21:40:21 +0100	[thread overview]
Message-ID: <1354740023-30849-5-git-send-email-snsehahn@cip.cs.fau.de> (raw)
In-Reply-To: <1354740023-30849-1-git-send-email-snsehahn@cip.cs.fau.de>

Fix a couple of instances where checkpatch complained about
initializing globals with 0.

Signed-off-by: Sebastian Hahn <snsehahn@cip.cs.fau.de>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index c673adc..76c56e5 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)
-- 
1.7.10.4


  parent reply	other threads:[~2012-12-05 20:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 20:40 [PATCH 0/6] staging:rtl8192u: begin cleanup of some checkpatch errors Sebastian Hahn
2012-12-05 20:40 ` [PATCH 1/6] staging/rtl8192u: cleanfile run Sebastian Hahn
2012-12-05 20:40 ` [PATCH 2/6] staging/rtl8192u: put { on same line as struct Sebastian Hahn
2012-12-05 20:40 ` [PATCH 3/6] staging/rtl8192u: indent with tabs, not spaces Sebastian Hahn
2012-12-06  7:01   ` Dan Carpenter
2012-12-06 11:23     ` [PATCH 3/6 v2] " Sebastian Hahn
2012-12-06 12:55       ` devendra.aaru
2012-12-05 20:40 ` Sebastian Hahn [this message]
2012-12-05 20:40 ` [PATCH 5/6] staging/rtl8192u: use same indent for switch and case Sebastian Hahn
2012-12-05 20:40 ` [PATCH 6/6] staging/rtl8192u: do not init statics to 0 Sebastian Hahn
2012-12-14 17:00 ` [PATCH 0/6] staging:rtl8192u: begin cleanup of some checkpatch errors Jennifer Naumann
2012-12-14 16:58   ` Dan Carpenter
2012-12-14 23:31     ` Jennifer Naumann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354740023-30849-5-git-send-email-snsehahn@cip.cs.fau.de \
    --to=snsehahn@cip.cs.fau.de \
    --cc=Jennifer.Naumann@informatik.stud.uni-erlangen.de \
    --cc=Julia.Lawall@lip6.fr \
    --cc=adam.buchbinder@gmail.com \
    --cc=amwang@redhat.com \
    --cc=dan.carpenter@oracle.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jim.cromie@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=joe@perches.com \
    --cc=justinmattock@gmail.com \
    --cc=linux-kernel@i4.informatik.uni-erlangen.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=standby24x7@gmail.com \
    --cc=wfp5p@virginia.edu \
    --cc=yongjun_wei@trendmicro.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).