aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs
diff options
context:
space:
mode:
authorHenriette Hofmeier <passt@h-hofmeier.de>2018-06-22 16:01:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 22:05:05 +0900
commite8466ea7bc3affde1733663cf17d657b7587f03c (patch)
tree9d2a16c13047a3b81687c2687e2cddea03c2bb89 /drivers/staging/rtl8723bs
parentstaging: rtl8723bs: Remove unnecessary initializations (diff)
downloadlinux-dev-e8466ea7bc3affde1733663cf17d657b7587f03c.tar.xz
linux-dev-e8466ea7bc3affde1733663cf17d657b7587f03c.zip
staging: rtl8723bs: Fix comment on variable init
Change comment from 'local variable' to 'global variables' and change style to comply with coding-style. Signed-off-by: Henriette Hofmeier <passt@h-hofmeier.de> Signed-off-by: Florian Harbecke <florian.harbecke@fau.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_efuse.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
index 9d265f49d035..c306ad7e395c 100644
--- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
+++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
@@ -12,7 +12,7 @@
#include <linux/jiffies.h>
-/*------------------------Define local variable------------------------------*/
+/* Define global variables */
u8 fakeEfuseBank;
u32 fakeEfuseUsedBytes;
u8 fakeEfuseContent[EFUSE_MAX_HW_SIZE] = {0};
@@ -28,12 +28,9 @@ u32 fakeBTEfuseUsedBytes;
u8 fakeBTEfuseContent[EFUSE_MAX_BT_BANK][EFUSE_MAX_HW_SIZE];
u8 fakeBTEfuseInitMap[EFUSE_BT_MAX_MAP_LEN] = {0};
u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN] = {0};
-/*------------------------Define local variable------------------------------*/
-/* */
#define REG_EFUSE_CTRL 0x0030
#define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */
-/* */
bool
Efuse_Read1ByteFromFakeContent(