staging: rtl8192e: Remove unused variable raw_tx
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Tue, 3 Oct 2023 19:33:27 +0000 (21:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2023 07:59:39 +0000 (09:59 +0200)
Remove unused variable raw_tx as it is just set to 0 and not used.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/7ab7606ba836746d28afdb72914fb4e05824dac8.1696360403.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_module.c

index 98b8b7db027e760f31f3cbc02bf48ad5f6620551..41b34331380c6b522677b8ce94e0fd592fe9580e 100644 (file)
@@ -1364,7 +1364,6 @@ struct rtllib_device {
        u64 ps_time;
        bool polling;
 
-       short raw_tx;
        /* used if IEEE_SOFTMAC_TX_QUEUE is set */
        short queue_stop;
        short scanning_continue;
index abd6bfd4dfa35718efb2174dce5b18f6e851f713..195d8aa881388d122a91578d10ff98dfd110151d 100644 (file)
@@ -114,7 +114,6 @@ struct net_device *alloc_rtllib(int sizeof_priv)
        ieee->drop_unencrypted = 0;
        ieee->privacy_invoked = 0;
        ieee->ieee802_1x = 1;
-       ieee->raw_tx = 0;
        ieee->hwsec_active = 0;
 
        memset(ieee->swcamtable, 0, sizeof(struct sw_cam_table) * 32);