Staging: rtl8192e: Rename variable pTS in function ResetRxTsEntry()
authorTree Davies <tdavies@darkphysics.net>
Fri, 25 Aug 2023 14:08:38 +0000 (07:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 08:35:04 +0000 (10:35 +0200)
Rename variable pTS in function ResetRxTsEntry() to ts
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20230825140847.501113-8-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_TSProc.c

index 1a5ec1e14abcfed91cf8c86c047bde3d46261148..e325115264205de46c7c40bdf9540d3d231fd42f 100644 (file)
@@ -112,12 +112,12 @@ static void ResetTxTsEntry(struct tx_ts_record *pTS)
        rtllib_reset_ba_entry(&pTS->TxPendingBARecord);
 }
 
-static void ResetRxTsEntry(struct rx_ts_record *pTS)
+static void ResetRxTsEntry(struct rx_ts_record *ts)
 {
-       ResetTsCommonInfo(&pTS->ts_common_info);
-       pTS->rx_indicate_seq = 0xffff;
-       pTS->rx_timeout_indicate_seq = 0xffff;
-       rtllib_reset_ba_entry(&pTS->rx_admitted_ba_record);
+       ResetTsCommonInfo(&ts->ts_common_info);
+       ts->rx_indicate_seq = 0xffff;
+       ts->rx_timeout_indicate_seq = 0xffff;
+       rtllib_reset_ba_entry(&ts->rx_admitted_ba_record);
 }
 
 void TSInitialize(struct rtllib_device *ieee)