staging: remove explicit intialization of static ints
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | staging: i2o: remove intialization of static intsdrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 2/4 | staging: rtl8188eu: remove intialization of static intsdrivers/ | +1 | 0 replies | |
| 3/4 | staging: rtl8723au: remove intialization of static intsdrivers/ drivers/ | +2 | 0 replies | |
| 4/4 | staging: sm750fb: remove intialization of static intsdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] staging: remove explicit intialization of static ints
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(-)
Signature · 1 line
2.1.0