* [PATCH 10/12] Staging: rtl8192e: Rename variable Time
@ 2023-07-12 23:36 Tree Davies
0 siblings, 0 replies; only message in thread
From: Tree Davies @ 2023-07-12 23:36 UTC (permalink / raw)
To: gregkh, philipp.g.hortmann, anjan, error27
Cc: tdavies, linux-staging, linux-kernel
Rename variable Time to time, in order to Fix
checkpatch warning: Avoid CamelCase
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c
index 43ee1bd4a6ed..f64534d14104 100644
--- a/drivers/staging/rtl8192e/rtl819x_BAProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c
@@ -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)
--
2.41.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-12 23:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12 23:36 [PATCH 10/12] Staging: rtl8192e: Rename variable Time Tree Davies
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).