mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 07:23:14 +00:00
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>
This commit is contained in:
parent
1aa721a464
commit
6bb7a078a0
@ -917,7 +917,7 @@ rtllib_association_req(struct rtllib_network *beacon,
|
||||
|
||||
kfree(ieee->assocreq_ies);
|
||||
ieee->assocreq_ies = NULL;
|
||||
ies = &(hdr->info_element[0].id);
|
||||
ies = &hdr->info_element[0].id;
|
||||
ieee->assocreq_ies_len = (skb->data + skb->len) - ies;
|
||||
ieee->assocreq_ies = kmemdup(ies, ieee->assocreq_ies_len, GFP_ATOMIC);
|
||||
if (!ieee->assocreq_ies)
|
||||
|
Loading…
x
Reference in New Issue
Block a user