Skip to content

Commit de4cbbd

Browse files
losgobbigregkh
authored andcommitted
staging: rtl8723bs: remove todo/note and duplicated EFUSE_CTRL macro
The usage of EFUSE_xxx and MSR macros are already in place, so the note and todo about that can be removed. Also, there was a duplication of the definition of EFUSE_CTRL macro in two places, keep the one at the .h file. Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@gmail.com> Link: https://patch.msgid.link/20251022220324.14260-1-rodrigo.gobbi.7@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 495df2d commit de4cbbd

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

drivers/staging/rtl8723bs/core/rtw_efuse.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ u8 fakeBTEfuseContent[EFUSE_MAX_BT_BANK][EFUSE_MAX_HW_SIZE];
2626
u8 fakeBTEfuseInitMap[EFUSE_BT_MAX_MAP_LEN] = {0};
2727
u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN] = {0};
2828

29-
#define REG_EFUSE_CTRL 0x0030
30-
#define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */
31-
3229
/* 11/16/2008 MH Add description. Get current efuse area enabled word!!. */
3330
u8
3431
Efuse_CalculateWordCnts(u8 word_en)

drivers/staging/rtl8723bs/include/hal_com_reg.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@
189189
/* Redifine 8192C register definition for compatibility */
190190
/* */
191191
/* */
192-
193-
/* TODO: use these definition when using REG_xxx naming rule. */
194-
/* NOTE: DO NOT Remove these definition. Use later. */
195-
196192
#define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */
197193
#define EFUSE_TEST REG_EFUSE_TEST /* E-Fuse Test. */
198194
#define MSR (REG_CR + 2) /* Media Status register */

0 commit comments

Comments
 (0)