Skip to contentSkip to conversation

staging: r8188eu: move open brace to the previous line

PATCH New Marcelo Aloisio da Silva 1 participant 1 message Feb 20, 2022 1 message not in the archive Staging

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20220220180434.GA12386.ref@snoopy

#1 lore raw

PATCH 1/1 staging: r8188eu: move open brace to the previous line

Fix the following error reported by checkpatch.pl:

ERROR: that open brace { should be on the previous line
+ if (rtw_p2p_chk_state(pwdinfo, P2P_STATE_NONE))
+ {

---
 drivers/staging/r8188eu/core/rtw_mlme.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/r8188eu/core/rtw_mlme.c +1 -2
index 45eff3018d73..3abc7e21bc0d 100644
@@ -1378,8 +1378,7 @@ void rtw_dynamic_check_timer_handlder(struct adapter *adapter)
 
 	if (pregistrypriv->wifi_spec == 1) {
 		struct wifidirect_info *pwdinfo = &adapter->wdinfo;
-		if (rtw_p2p_chk_state(pwdinfo, P2P_STATE_NONE))
-		{
+		if (rtw_p2p_chk_state(pwdinfo, P2P_STATE_NONE)) {
 			/* auto site survey */
 			rtw_auto_scan_handler(adapter);
 		}
Signature · 1 line
2.25.1