From: Supriya Karanth <iskaranth@gmail.com>
To: iskaranth@gmail.com, outreachy-kernel@googlegroups.com
Subject: [PATCH 0/4] staging: remove explicit intialization of static ints
Date: Thu, 12 Mar 2015 13:26:17 +0900 [thread overview]
Message-ID: <cover.1426129493.git.iskaranth@gmail.com> (raw)
static integer variables are initialized to 0 by the compiler
and it's not necessary to explicitly intialize them
This patchset removes the explicit intialization.
This issue was found by checkpatch.pl :
ERROR: do not initialise statics to 0 or NULL
These changes were made using coccinelle script:
@@
type T;
identifier var;
@@
static T var
- =0
;
Supriya Karanth (4):
staging: i2o: remove intialization of static ints
staging: rtl8188eu: remove intialization of static ints
staging: rtl8723au: remove intialization of static ints
staging: sm750fb: remove intialization of static ints
drivers/staging/i2o/i2o_block.c | 2 +-
drivers/staging/i2o/i2o_config.c | 2 +-
drivers/staging/i2o/iop.c | 2 +-
drivers/staging/rtl8188eu/os_dep/os_intfs.c | 2 +-
drivers/staging/rtl8723au/core/rtw_security.c | 2 +-
drivers/staging/rtl8723au/os_dep/os_intfs.c | 2 +-
drivers/staging/sm750fb/sm750.c | 6 +++---
7 files changed, 9 insertions(+), 9 deletions(-)
--
2.1.0
next reply other threads:[~2015-03-12 4:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 4:26 Supriya Karanth [this message]
2015-03-12 4:26 ` [PATCH 1/4] staging: i2o: remove intialization of static ints Supriya Karanth
2015-03-12 4:26 ` [PATCH 2/4] staging: rtl8188eu: " Supriya Karanth
2015-03-12 4:26 ` [PATCH 3/4] staging: rtl8723au: " Supriya Karanth
2015-03-12 4:26 ` [PATCH 4/4] staging: sm750fb: " Supriya Karanth
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=cover.1426129493.git.iskaranth@gmail.com \
--to=iskaranth@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.