Skip to contentSkip to conversation

Staging: rtl8192e: Rename variable Time

PATCH In review Tree Davies 1 participant 1 message Jul 12, 2023 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 10/12 Staging: rtl8192e: Rename variable Time

Rename variable Time to time, in order to Fix
checkpatch warning: Avoid CamelCase

---
 drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl819x_BAProc.c +3 -3
index 43ee1bd4a6ed..f64534d14104 100644
@@ -10,11 +10,11 @@
 #include "rtllib.h"
 #include "rtl819x_BA.h"
 
-static void activate_ba_entry(struct ba_record *pba, u16 Time)
+static void activate_ba_entry(struct ba_record *pba, u16 time)
 {
 	pba->b_valid = true;
-	if (Time != 0)
-		mod_timer(&pba->timer, jiffies + msecs_to_jiffies(Time));
+	if (time != 0)
+		mod_timer(&pba->timer, jiffies + msecs_to_jiffies(time));
 }
 
 static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pba)
Signature · 1 line
2.41.0