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
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
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
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
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
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
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