Staging: rtl8723au: Fixed error 'else should follow close brace '}".
PATCH 1/1 Staging: rtl8723au: Fixed error 'else should follow close brace '}".
This patch fixes error 'else should follow close brace '}" found by checkpatch in driver rtl8723au.
Signed-off-by Yeliz Taneroglu <[email protected]>
--- drivers/staging/rtl8723au/core/rtw_efuse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8723au/core/rtw_efuse.c +1 -2
@@ -304,8 +304,7 @@ EFUSE_Read1Byte23a(struct rtw_adapter *Adapter, u16 Address) } data =rtl8723au_read8 (Adapter,EFUSE_CTRL );return data; - } -else + }else return 0xFF ; }/* EFUSE_Read1Byte23a */
Signature · 1 line
1.8.3.2
Quoted 7 lines · Yeliz Taneroglu
This patch fixes error 'else should follow close brace '}" found by checkpatch in driver rtl8723au.
Signed-off-by Yeliz Taneroglu <[email protected]>--- drivers/staging/rtl8723au/core/rtw_efuse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Hi Yeliz,
Your patch is fine, calling it an error is maybe a little much, but I think this is fine for this case.
Cheers
Jes
Quoted 15 lines
drivers/staging/rtl8723au/core/rtw_efuse.c +1
-2@@ -304,8 +304,7 @@ EFUSE_Read1Byte23a(struct rtw_adapter *Adapter, u16 Address) } data =rtl8723au_read8 (Adapter,EFUSE_CTRL );return data; - } -else + }else return 0xFF ; }/* EFUSE_Read1Byte23a */