staging: rtl8192e: Remove struct ht_info_ele SelfHTInfo
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 10 Dec 2023 15:27:03 +0000 (16:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 12:35:21 +0000 (13:35 +0100)
Remove struct ht_info_ele SelfHTInfo as it is unused.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/e8692d40b3cba3de1b4ceb8e72186e8d40afec73.1702212003.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HT.h
drivers/staging/rtl8192e/rtl819x_HTProc.c

index 416633b8844605227a69f3cf7a9cadbab089e6ff..0f27c820ffc54842f9c30dcea8ce11e0726db383 100644 (file)
@@ -99,7 +99,6 @@ struct rt_hi_throughput {
        u8 cur_short_gi_20mhz;
        enum ht_spec_ver ePeerHTSpecVer;
        struct ht_capab_ele SelfHTCap;
-       struct ht_info_ele SelfHTInfo;
        u8 PeerHTCapBuf[32];
        u8 PeerHTInfoBuf[32];
        u8 amsdu_support;
index 439b43faa2bb0bfaed377258db3d4e5932e0b643..0474594a4b96a47e8c47b00a73c682f06e440a17 100644 (file)
@@ -554,8 +554,6 @@ void HTInitializeHTInfo(struct rtllib_device *ieee)
 
        memset((void *)(&ht_info->SelfHTCap), 0,
               sizeof(ht_info->SelfHTCap));
-       memset((void *)(&ht_info->SelfHTInfo), 0,
-              sizeof(ht_info->SelfHTInfo));
        memset((void *)(&ht_info->PeerHTCapBuf), 0,
               sizeof(ht_info->PeerHTCapBuf));
        memset((void *)(&ht_info->PeerHTInfoBuf), 0,