Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8192e: Remove unused variables TClasProc and TClasNum

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>

authored by

Philipp Hortmann and committed by
Greg Kroah-Hartman
5e3441eb 0f920ffb

-4
-2
drivers/staging/rtl8192e/rtl819x_TS.h
··· 21 21 struct list_head List; 22 22 u8 addr[ETH_ALEN]; 23 23 struct qos_tsinfo TSpec; 24 - u8 TClasProc; 25 - u8 TClasNum; 26 24 }; 27 25 28 26 struct tx_ts_record {
-2
drivers/staging/rtl8192e/rtl819x_TSProc.c
··· 95 95 { 96 96 eth_zero_addr(pTsCommonInfo->addr); 97 97 memset(&pTsCommonInfo->TSpec, 0, sizeof(struct qos_tsinfo)); 98 - pTsCommonInfo->TClasProc = 0; 99 - pTsCommonInfo->TClasNum = 0; 100 98 } 101 99 102 100 static void ResetTxTsEntry(struct tx_ts_record *ts)