Skip to contentSkip to conversation

staging: rtl8723bs: remove unnecessary blank lines

PATCH In review Tan Kai Zhe 2 participants 3 messages Feb 5 – Feb 6 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): [email protected]

#1 lore raw

PATCH 1/1 staging: rtl8723bs: remove unnecessary blank lines

Adhere to Linux kernel coding style.

Reported by checkpatch:

CHECK: Blank lines aren't necessary before a close brace '}'

---
 drivers/staging/rtl8723bs/core/rtw_cmd.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/staging/rtl8723bs/core/rtw_cmd.c +0 -5
index ef2d92b5588a..7f1bf20300fe 100644
@@ -1224,7 +1224,6 @@ u8 traffic_status_watchdog(struct adapter *padapter, u8 from_timer)
 	pmlmepriv->LinkDetectInfo.bHigherBusyTxTraffic = bHigherBusyTxTraffic;
 
 	return bEnterPS;
-
 }
 
 static void dynamic_chk_wk_hdl(struct adapter *padapter)
@@ -1446,7 +1445,6 @@ u8 rtw_dm_ra_mask_wk_cmd(struct adapter *padapter, u8 *psta)
 exit:
 
 	return res;
-
 }
 
 u8 rtw_ps_cmd(struct adapter *padapter)
@@ -1516,9 +1514,7 @@ static void rtw_chk_hi_queue_hdl(struct adapter *padapter)
 		} else {/* re check again */
 			rtw_chk_hi_queue_cmd(padapter);
 		}
-
 	}
-
 }
 
 u8 rtw_chk_hi_queue_cmd(struct adapter *padapter)
@@ -1877,7 +1873,6 @@ void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd)
 
 		spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
 		/*  we will set _FW_LINKED when there is one more sat to join us (rtw_stassoc_event_callback) */
-
 	}
 
 createbss_cmd_fail:
Signature · 1 line
2.53.0
#2 lore raw
Quoted 7 lines · Tan Kai Zhe

Adhere to Linux kernel coding style.

Reported by checkpatch:

CHECK: Blank lines aren't necessary before a close brace '}'

These blank lines have already been removed in staging-next. Please use staging-next when creating patches for staging. Thanks.

ET

author
#3 lore raw
Quoted 5 lines · Ethan Tidmore
Quoted 4 lines · Tan Kai Zhe

Adhere to Linux kernel coding style.

Reported by checkpatch:

Quoted 8 lines
Quoted 3 lines

CHECK: Blank lines aren't necessary before a close brace '}'

These blank lines have already been removed in staging-next. Please use staging-next when creating patches for staging. Thanks.

ET

Sorry and thanks! I'll use staging-next from now on.