diff options
author | Nam Cao <namcaov@gmail.com> | 2022-08-19 15:49:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-23 15:41:29 +0200 |
commit | 38117692d603162bf1e12fd8ab79ffca703aa149 (patch) | |
tree | e8c77fc6128c5042e6b5c20d40e26379e34489df /drivers | |
parent | 629481c3dcc37507f9cb0cae6a4fc7ae52d22eae (diff) | |
download | linux-stable-38117692d603162bf1e12fd8ab79ffca703aa149.tar.gz linux-stable-38117692d603162bf1e12fd8ab79ffca703aa149.tar.bz2 linux-stable-38117692d603162bf1e12fd8ab79ffca703aa149.zip |
staging: rtl8723bs: remove function IsCommentString
because this function is not used.
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Nam Cao <namcaov@gmail.com>
Link: https://lore.kernel.org/r/c062f678dc8f99c18a251f6137c4c3883f8c8205.1660916523.git.namcaov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8723bs/hal/hal_com.c | 12 | ||||
-rw-r--r-- | drivers/staging/rtl8723bs/include/hal_com.h | 2 |
2 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c index f82cbe5a77ff..1c744d0b4742 100644 --- a/drivers/staging/rtl8723bs/hal/hal_com.c +++ b/drivers/staging/rtl8723bs/hal/hal_com.c @@ -939,18 +939,6 @@ bool GetHexValueFromString(char *szStr, u32 *pu4bVal, u32 *pu4bMove) return true; } -/* */ -/* Description: */ -/* Return true if szStr is comment out with leading "//". */ -/* */ -bool IsCommentString(char *szStr) -{ - if (*szStr == '/' && *(szStr+1) == '/') - return true; - else - return false; -} - bool GetU1ByteIntegerFromStringInDecimal(char *Str, u8 *pInt) { u16 i = 0; diff --git a/drivers/staging/rtl8723bs/include/hal_com.h b/drivers/staging/rtl8723bs/include/hal_com.h index b49b0a0355c6..406fccbcd4b6 100644 --- a/drivers/staging/rtl8723bs/include/hal_com.h +++ b/drivers/staging/rtl8723bs/include/hal_com.h @@ -153,8 +153,6 @@ u32 MapCharToHexDigit(char chTmp); bool GetHexValueFromString(char *szStr, u32 *pu4bVal, u32 *pu4bMove); -bool IsCommentString(char *szStr); - bool ParseQualifiedString(char *In, u32 *Start, char *Out, char LeftQualifier, char RightQualifier); |