[PATCH 0/3] staging: rtlwifi: checkpatch fixes

Tobin C. Harding me at tobin.cc
Tue Sep 5 06:53:41 UTC 2017


Fix checkpatch warnings.

Patch 1: Fix CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis.
Patch 2: Fix WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply.
Patch 3: Remove unused functions (clears checkpatch warnings).

Code is untested. Builds on x86_64.

Tobin C. Harding (3):
  staging: rtlwifi: fix parenthesis alignment
  staging: rtlwifi: use kcalloc instead of multiply
  staging: rtlwifi: remove unused functions

 drivers/staging/rtlwifi/core.c  | 43 +++--------------------------------------
 drivers/staging/rtlwifi/core.h  |  4 ----
 drivers/staging/rtlwifi/efuse.c |  5 ++---
 3 files changed, 5 insertions(+), 47 deletions(-)

-- 
2.7.4



More information about the devel mailing list