aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTree Davies <[email protected]>2023-08-25 07:08:40 -0700
committerGreg Kroah-Hartman <[email protected]>2023-09-13 10:35:04 +0200
commit12123d88b78bb3b7646f9dd3d88aab840ba4e396 (patch)
tree445c7288e252d785f8933a2d37b1f0652ee6fd21
parent88e5925126fdcd79160b28319e96e57da9da8de2 (diff)
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 <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-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,