[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230813065445.95205-2-tdavies@darkphysics.net>
Date: Sat, 12 Aug 2023 23:54:41 -0700
From: Tree Davies <tdavies@...kphysics.net>
To: gregkh@...uxfoundation.org, philipp.g.hortmann@...il.com
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
Tree Davies <tdavies@...kphysics.net>
Subject: [PATCH 1/5] Staging: rtl8192e: Rename variable pTS in function ResetRxTsEntry()
Rename variable pTS in function ResetRxTsEntry() to rx_ts
to fix checkpatch warning Avoid CamelCase.
Signed-off-by: Tree Davies <tdavies@...kphysics.net>
---
drivers/staging/rtl8192e/rtl819x_TSProc.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c
index 1c78134fc625..65521bd91b2e 100644
--- a/drivers/staging/rtl8192e/rtl819x_TSProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c
@@ -113,12 +113,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 *rx_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(&rx_ts->ts_common_info);
+ rx_ts->rx_indicate_seq = 0xffff;
+ rx_ts->rx_timeout_indicate_seq = 0xffff;
+ rtllib_reset_ba_entry(&rx_ts->rx_admitted_ba_record);
}
void TSInitialize(struct rtllib_device *ieee)
--
2.41.0
Powered by blists - more mailing lists