[PATCH] Staging: rtl8723bs/core: fix braces coding style issues

2020-12-11 Thread Brother Matthew De Angelis
Fix all the braces coding style issues found by checkpatch.pl in rtw_security.c. Signed-off-by: Brother Matthew De Angelis --- drivers/staging/rtl8723bs/core/rtw_security.c | 24 +++ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/staging/rtl8723bs/core

[PATCH] Staging: rtl8723bs/core: add blank line after declarations

2020-12-05 Thread Brother Matthew De Angelis
Fix coding style issue. Add blank line after variable declarations at all the locations found by checkpatch.pl. Signed-off-by: Brother Matthew De Angelis --- drivers/staging/rtl8723bs/core/rtw_mlme.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/staging/rtl8723bs/core

[PATCH 2/2] Staging: rtl8723bs/core: fix brace coding style issue

2020-12-05 Thread Brother Matthew De Angelis
Remove unnecessary braces identified by checkpatch.pl at lines 740, 1039,1602,1922,1939. Signed-off-by: Brother Matthew De Angelis --- drivers/staging/rtl8723bs/core/rtw_recv.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8723bs/core

[PATCH 1/2] Staging: rtl8723bs/core: delete empty if statement

2020-12-05 Thread Brother Matthew De Angelis
Delete an if statement that was not executing anything when true. This has the side effect of removing one checkpatch warning about braces not being necessary. Signed-off-by: Brother Matthew De Angelis --- drivers/staging/rtl8723bs/core/rtw_recv.c | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH 0/2] Fix coding style issues

2020-12-05 Thread Brother Matthew De Angelis
Hello, this series fixes two separate coding style issues. 1. Delete an empty if statement. 2. Fix remaining unnecessary brace coding style issues. Brother Matthew De Angelis (2): Staging: rtl8723bs/core: delete empty if statement Staging: rtl8723bs/core: fix brace coding style issue

[PATCH] Staging: rtl8723bs/core fix brace coding style issues in rtw_recv.c

2020-12-04 Thread Brother Matthew De Angelis
Fix all the brace code style warnings found by checkpatch.pl at the following lines: 748, 940, 1039, 1602, 1922, 1939. At line 940 add a semi-colon to specify a line that does not execute anything, as in Kernighan and Ritchie Signed-off-by: Brother Matthew De Angelis --- drivers/staging

[PATCH] Staging: rtl8723bs/core fix brace coding style issues in rtw_ioctl_set.c

2020-12-02 Thread Brother Matthew De Angelis
for any arm of this statement rtw_ioctl_set.c:441: WARNING: braces {} are not necessary for single statement blocks rtw_ioctl_set.c:527: WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Brother Matthew De Angelis --- .../staging/rtl8723bs/core/rtw_ioctl_set.c