Staging: rtl8192e: Rename variable pRxTs in function rtllib_ts_init_del_ba()
authorTree Davies <tdavies@darkphysics.net>
Fri, 25 Aug 2023 14:08:35 +0000 (07:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 08:35:04 +0000 (10:35 +0200)
Rename variable pRxTs in function rtllib_ts_init_del_ba() 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-5-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c

index c584e9ec48b6dfa487f56a9f5dac551d3b683cde..2aa624bcbfd16f5532e4181a978b60983e383086 100644 (file)
@@ -499,11 +499,11 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee,
                                        (&pTxTs->TxPendingBARecord),
                                         TxRxSelect, DELBA_REASON_END_BA);
        } else if (TxRxSelect == RX_DIR) {
-               struct rx_ts_record *pRxTs =
+               struct rx_ts_record *ts =
                                 (struct rx_ts_record *)pTsCommonInfo;
-               if (rx_ts_delete_ba(ieee, pRxTs))
+               if (rx_ts_delete_ba(ieee, ts))
                        rtllib_send_DELBA(ieee, pTsCommonInfo->Addr,
-                                         &pRxTs->rx_admitted_ba_record,
+                                         &ts->rx_admitted_ba_record,
                                          TxRxSelect, DELBA_REASON_END_BA);
        }
 }