Skip to content

Commit be0d49b

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Remove unnecessary parenthesis in rtllib_rx_assoc_resp()
Remove parentheses to fix checkpatch Warning: Unnecessary parentheses around resp->info_element[0].id Signed-off-by: Tree Davies <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6bb7a07 commit be0d49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/rtl8192e/rtllib_softmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ rtllib_rx_assoc_resp(struct rtllib_device *ieee, struct sk_buff *skb,
16191619

16201620
kfree(ieee->assocresp_ies);
16211621
ieee->assocresp_ies = NULL;
1622-
ies = &(assoc_resp->info_element[0].id);
1622+
ies = &assoc_resp->info_element[0].id;
16231623
ieee->assocresp_ies_len = (skb->data + skb->len) - ies;
16241624
ieee->assocresp_ies = kmemdup(ies,
16251625
ieee->assocresp_ies_len,

0 commit comments

Comments
 (0)