Skip to content

Commit 6bb7a07

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Remove unnecessary parenthesis in rtllib_association_req()
Remove parentheses to fix checkpatch Warning: Unnecessary parentheses around hdr->info_element[0].id Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20231223015942.418263-4-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1aa721a commit 6bb7a07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/staging/rtl8192e/rtllib_softmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ rtllib_association_req(struct rtllib_network *beacon,
917917

918918
kfree(ieee->assocreq_ies);
919919
ieee->assocreq_ies = NULL;
920-
ies = &(hdr->info_element[0].id);
920+
ies = &hdr->info_element[0].id;
921921
ieee->assocreq_ies_len = (skb->data + skb->len) - ies;
922922
ieee->assocreq_ies = kmemdup(ies, ieee->assocreq_ies_len, GFP_ATOMIC);
923923
if (!ieee->assocreq_ies)

0 commit comments

Comments
 (0)