All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: remove unnecessary parentheses around list pointers
@ 2026-10-02 21:57 Luca Hernandez
  2026-10-03 11:44 ` Luca Hernandez
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Hernandez @ 2026-10-02 21:57 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, Luca Hernandez

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.

Signed-off-by: Luca Hernandez <lucay202@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_recv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c
index 381b3e29afaf..88e4b5c6c5fd 100644
--- a/drivers/staging/rtl8723bs/core/rtw_recv.c
+++ b/drivers/staging/rtl8723bs/core/rtw_recv.c
@@ -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;
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: rtl8723bs: remove unnecessary parentheses around list pointers
  2026-10-02 21:57 [PATCH] staging: rtl8723bs: remove unnecessary parentheses around list pointers Luca Hernandez
@ 2026-10-03 11:44 ` Luca Hernandez
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Hernandez @ 2026-10-03 11:44 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-03 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-02 21:57 [PATCH] staging: rtl8723bs: remove unnecessary parentheses around list pointers Luca Hernandez
2026-10-03 11:44 ` Luca Hernandez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.