Staging: rtl8192e: Rename variable pBa
authorTree Davies <tdavies@darkphysics.net>
Sat, 14 Oct 2023 04:44:32 +0000 (21:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Oct 2023 16:20:54 +0000 (18:20 +0200)
Rename variable pBa to ba 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/20231014044435.11947-2-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c

index ec8edfecdb7392e60f518655ed7eadc8d709973b..a2a0573c344483d5a2b70aae2245fad26f86fbbf 100644 (file)
@@ -43,11 +43,11 @@ static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs
 
 static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *ts)
 {
-       struct ba_record *pBa = &ts->rx_admitted_ba_record;
+       struct ba_record *ba = &ts->rx_admitted_ba_record;
        u8                      bSendDELBA = false;
 
-       if (pBa->b_valid) {
-               deactivate_ba_entry(ieee, pBa);
+       if (ba->b_valid) {
+               deactivate_ba_entry(ieee, ba);
                bSendDELBA = true;
        }