staging: rtl8723bs: rtw_ap: remove unnecessary parentheses from return
PATCH 1/1 staging: rtl8723bs: rtw_ap: remove unnecessary parentheses from return
The Linux kernel coding style specifies that return is not a function and therefore parentheses are not required.
Signed-off-by Ashmit Kumar <[email protected]>
--- drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_ap.c +1 -1
@@ -1085,7 +1085,7 @@ int rtw_acl_add_sta(struct adapter *padapter, u8 *addr)struct __queue *pacl_node_q = &pacl_list->acl_node_q;if ((NUM_ACL -1 ) < pacl_list->num) -return (-1 ); +return -1 ;spin_lock_bh (&pacl_node_q->lock);
Signature · 1 line
2.43.0