Skip to contentSkip to conversation

staging: rtl8723bs: remove unnecessary parentheses around list pointers

PATCH In review Luca Hernandez 1 participant 2 messages Oct 2 – Oct 3 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: remove unnecessary parentheses around list pointers

Remove the redundant parentheses enclosing the list macro arguments to align the code layout with the standard Linux kernel formatting guidelines. This resolves the styling checks flagged by the checkpatch utility.

---
 drivers/staging/rtl8723bs/core/rtw_recv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8723bs/core/rtw_recv.c +2 -2
index 381b3e29afaf..88e4b5c6c5fd 100644
@@ -58,9 +58,9 @@ signed int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *pada
 	precvframe = (union recv_frame *)precvpriv->precv_frame_buf;
 
 	for (i = 0; i < NR_RECVFRAME; i++) {
-		INIT_LIST_HEAD(&(precvframe->u.list));
+		INIT_LIST_HEAD(&precvframe->u.list);
 
-		list_add_tail(&(precvframe->u.list), &(precvpriv->free_recv_queue.queue));
+		list_add_tail(&precvframe->u.list, &precvpriv->free_recv_queue.queue);
 
 		precvframe->u.hdr.pkt_newalloc = NULL;
 		precvframe->u.hdr.pkt = NULL;
Signature · 1 line
2.55.0
#1 lore raw

Hi Greg,

Please disregard this patch. I just realized you have previously rejected similar parenthesis-removal cleanups in this subsystem. Apologies for the noise.

Best,
Luca