Staging: rtl8192e: Rename variable tmp in function GetTs()
authorTree Davies <tdavies@darkphysics.net>
Fri, 25 Aug 2023 14:08:40 +0000 (07:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 08:35:04 +0000 (10:35 +0200)
Rename variable tmp in function GetTs() to ts in order
to make the name consistent with other references of type
struct rx_ts_record.

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-10-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_TSProc.c

index ebac7662b72d46e608060f2eab4099918e1b35ee..fa8f4968c90be5899c70f966b0009ea9ae7acb69 100644 (file)
@@ -315,11 +315,11 @@ bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS,
                                TsCommonInfo);
                        ResetTxTsEntry(tmp);
                } else {
-                       struct rx_ts_record *tmp =
+                       struct rx_ts_record *ts =
                                 container_of(*ppTS,
                                 struct rx_ts_record,
                                 ts_common_info);
-                       ResetRxTsEntry(tmp);
+                       ResetRxTsEntry(ts);
                }
 
                netdev_dbg(ieee->dev,