Messages in this thread Patch in this message | | | From | Michael Straube <> | Subject | [PATCH] staging: rtl8723bs: clean up brace coding style issues | Date | Tue, 22 Dec 2020 15:17:07 +0100 |
| |
Add missing braces around else arm of if else statement to clear style issues reported by checkpatch.
CHECK: braces {} should be used on all arms of this statement CHECK: Unbalanced braces around else statement
Signed-off-by: Michael Straube <straube.linux@gmail.com> --- drivers/staging/rtl8723bs/core/rtw_efuse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c index 32ca10f01413..a6c43bc4f62a 100644 --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c @@ -245,8 +245,9 @@ u16 Address) break; } return rtw_read8(Adapter, EFUSE_CTRL); - } else + } else { return 0xFF; + } } /* EFUSE_Read1Byte */ -- 2.29.2
| |