Skip to contentSkip to conversation

Staging: rtl8723au: Fixed error 'else should follow close brace '}".

PATCH In review Yeliz Taneroglu 2 participants 2 messages Mar 4, 2015 – Mar 5, 2015 Staging

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/staging/rtl8723au/core/rtw_efuse.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8723au/core/rtw_efuse.c +1 -2
index a6deddc..29fc25b 100644
@@ -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
#1 lore raw
Quoted 7 lines · Yeliz Taneroglu

This patch fixes error 'else should follow close brace '}" found by checkpatch in driver rtl8723au.

---
 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
index a6deddc..29fc25b 100644
@@ -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 */