Staging: rtl8192e: Rename variable pTS in function AddReorderEntry()
authorTree Davies <tdavies@darkphysics.net>
Fri, 25 Aug 2023 14:08:43 +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 AddReorderEntry() 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-13-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c

index 40e7bbb17c0d6646a6df8611ce11c2fd9f57946a..3f2714578d5f877e5943f69bda82e212aa55da64 100644 (file)
@@ -435,12 +435,12 @@ drop:
        return 1;
 }
 
-static bool AddReorderEntry(struct rx_ts_record *pTS,
+static bool AddReorderEntry(struct rx_ts_record *ts,
                            struct rx_reorder_entry *pReorderEntry)
 {
-       struct list_head *pList = &pTS->rx_pending_pkt_list;
+       struct list_head *pList = &ts->rx_pending_pkt_list;
 
-       while (pList->next != &pTS->rx_pending_pkt_list) {
+       while (pList->next != &ts->rx_pending_pkt_list) {
                if (SN_LESS(pReorderEntry->SeqNum, ((struct rx_reorder_entry *)
                    list_entry(pList->next, struct rx_reorder_entry,
                    List))->SeqNum))