staging: rtl8192e: Remove unused variables TClasProc and TClasNum
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Mon, 23 Oct 2023 06:40:43 +0000 (08:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Oct 2023 10:56:39 +0000 (12:56 +0200)
Remove unused variables to shorten code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/04ce3eaaaf3897a22dcb95ce2f449658199770d8.1698042685.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_TS.h
drivers/staging/rtl8192e/rtl819x_TSProc.c

index 240e808fc4b2a30fa800f03f9a1aa9b913e1bf72..ab737428d4a70798b2617100bb91de57efaebb3f 100644 (file)
@@ -21,8 +21,6 @@ struct ts_common_info {
        struct list_head                List;
        u8                              addr[ETH_ALEN];
        struct qos_tsinfo TSpec;
-       u8                              TClasProc;
-       u8                              TClasNum;
 };
 
 struct tx_ts_record {
index 7151827408b99595ff887a43b409bb4703529d4d..3206fdb3e65ab5252ed939adfda9425161abf957 100644 (file)
@@ -95,8 +95,6 @@ static void ResetTsCommonInfo(struct ts_common_info *pTsCommonInfo)
 {
        eth_zero_addr(pTsCommonInfo->addr);
        memset(&pTsCommonInfo->TSpec, 0, sizeof(struct qos_tsinfo));
-       pTsCommonInfo->TClasProc = 0;
-       pTsCommonInfo->TClasNum = 0;
 }
 
 static void ResetTxTsEntry(struct tx_ts_record *ts)