Staging: rtl8192e: Rename variable Time
authorTree Davies <tdavies@darkphysics.net>
Thu, 21 Sep 2023 03:25:05 +0000 (20:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Sep 2023 09:12:18 +0000 (11:12 +0200)
Rename variable Time to time to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20230921032515.96152-2-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c

index a57673ecf7915380cedec67f62f8eb2f19426c7c..fbac0e598cf90df8c726218d4e9ec3318d13f50d 100644 (file)
 #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)