Staging: rtl8192e: Remove unnecessary parenthesis in rtllib_association_req()
authorTree Davies <tdavies@darkphysics.net>
Sat, 23 Dec 2023 01:59:28 +0000 (17:59 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 13:10:52 +0000 (14:10 +0100)
Remove parnthesis to fix checkpatch Warning:
Unnecessary parentheses around ieee->ht_info->SelfHTCap

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20231223015942.418263-7-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c

index 411763cafd2e1787cdadd4031258f457ba4626b0..7e132f87295dd66f0d45abd9f79d8f8409c18e9c 100644 (file)
@@ -727,7 +727,7 @@ rtllib_association_req(struct rtllib_network *beacon,
        }
 
        if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) {
-               ht_cap_buf = (u8 *)&(ieee->ht_info->SelfHTCap);
+               ht_cap_buf = (u8 *)&ieee->ht_info->SelfHTCap;
                ht_cap_len = sizeof(ieee->ht_info->SelfHTCap);
                ht_construct_capability_element(ieee, ht_cap_buf, &ht_cap_len,
                                             encrypt, true);