Skip to content

Commit eb2ebe1

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Remove unnecessary parenthesis in rtllib_association_req()
Remove parnthesis to fix checkpatch Warning: Unnecessary parentheses around ieee->ht_info->SelfHTCap 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 a87f009 commit eb2ebe1

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
@@ -727,7 +727,7 @@ rtllib_association_req(struct rtllib_network *beacon,
727727
}
728728

729729
if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) {
730-
ht_cap_buf = (u8 *)&(ieee->ht_info->SelfHTCap);
730+
ht_cap_buf = (u8 *)&ieee->ht_info->SelfHTCap;
731731
ht_cap_len = sizeof(ieee->ht_info->SelfHTCap);
732732
ht_construct_capability_element(ieee, ht_cap_buf, &ht_cap_len,
733733
encrypt, true);

0 commit comments

Comments
 (0)