staging: rtl8723bs: remove unnecessary parentheses around list pointers
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.
Signed-off-by Luca Hernandez <[email protected]>
--- drivers/staging/rtl8723bs/core/rtw_recv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8723bs/core/rtw_recv.c +2 -2
@@ -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
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