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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux