staging: rtl8192e: Remove unused variable ChannelAccessSetting
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Tue, 22 Nov 2022 22:46:21 +0000 (23:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2022 12:24:59 +0000 (13:24 +0100)
ChannelAccessSetting is never used. Remove resulting dead code.

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

index 1c00ad709a3c2261ef130df579f25c05f58b1cb1..ca2e685148d4d5a5e109defd9f5a79c605323af4 100644 (file)
@@ -234,15 +234,6 @@ struct rt_stats {
        u32     CurrentShowTxate;
 };
 
-struct channel_access_setting {
-       u16 SIFS_Timer;
-       u16 DIFS_Timer;
-       u16 SlotTimeTimer;
-       u16 EIFS_Timer;
-       u16 CWminIndex;
-       u16 CWmaxIndex;
-};
-
 struct init_gain {
        u8      xaagccore1;
        u8      xbagccore1;
@@ -321,9 +312,6 @@ struct r8192_priv {
        struct delayed_work             txpower_tracking_wq;
        struct delayed_work             rfpath_check_wq;
        struct delayed_work             gpio_change_rf_wq;
-
-       struct channel_access_setting ChannelAccessSetting;
-
        struct rtl819x_ops                      *ops;
        struct rtllib_device                    *rtllib;