Messages in this thread Patch in this message | | | From | Tree Davies <> | Subject | [PATCH 09/16] Staging: rtl8192e: Rename variable tmp in function GetTs() | Date | Sat, 19 Aug 2023 17:47:37 -0700 |
| |
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> --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index ac97b6d627da..131a5d7b4599 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -325,11 +325,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, -- 2.41.0
| |