summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTree Davies <tdavies@darkphysics.net>2023-08-25 17:08:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-09-13 11:35:04 +0300
commit12123d88b78bb3b7646f9dd3d88aab840ba4e396 (patch)
tree445c7288e252d785f8933a2d37b1f0652ee6fd21
parent88e5925126fdcd79160b28319e96e57da9da8de2 (diff)
downloadlinux-12123d88b78bb3b7646f9dd3d88aab840ba4e396.tar.xz
Staging: rtl8192e: Rename variable tmp in function GetTs()
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>
-rw-r--r--drivers/staging/rtl8192e/rtl819x_TSProc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c
index ebac7662b72d..fa8f4968c90b 100644
--- a/drivers/staging/rtl8192e/rtl819x_TSProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c
@@ -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,