Skip to contentSkip to conversation

staging: rtl8723bs: rtw_ap: remove unnecessary parentheses from return

PATCH Superseded Ashmit Kumar 1 participant 1 message Aug 3 Staging

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_ap.c +1 -1
index 065850a9e89..4e9d91deb7e 100644
@@ -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