aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTree Davies <[email protected]>2023-08-25 07:08:38 -0700
committerGreg Kroah-Hartman <[email protected]>2023-09-13 10:35:04 +0200
commit065680fcc6a4f26d3f84f22b3f58cb87a32b4b5a (patch)
tree8ad2b6f57a295326ec7bc17fb8d85e2a58182eb7
parent9ec52579dcb94a818374c9384316545cd0f00a2c (diff)
Staging: rtl8192e: Rename variable pTS in function ResetRxTsEntry()
Rename variable pTS in function ResetRxTsEntry() to ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/rtl8192e/rtl819x_TSProc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c
index 1a5ec1e14abc..e32511526420 100644
--- a/drivers/staging/rtl8192e/rtl819x_TSProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c
@@ -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)