staging: rtl8723bs: remove IsHexDigit

Remove function IsHexDigit because it is not used.

Signed-off-by: Nam Cao <namcaov@gmail.com>
Link: https://lore.kernel.org/r/8c70ecd9bea1dff2cb8f69e12bbef6aa4ee39977.1662111799.git.namcaov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nam Cao 2022-09-02 11:51:59 +02:00 committed by Greg Kroah-Hartman
parent 54b1d117d5
commit 2d0cb6588d
2 changed files with 0 additions and 21 deletions

View File

@ -859,25 +859,6 @@ bool eqNByte(u8 *str1, u8 *str2, u32 num)
return true;
}
/* */
/* Description: */
/* Return true if chTmp is represent for hex digit and */
/* false otherwise. */
/* */
/* */
bool IsHexDigit(char chTmp)
{
if (
(chTmp >= '0' && chTmp <= '9') ||
(chTmp >= 'a' && chTmp <= 'f') ||
(chTmp >= 'A' && chTmp <= 'F')
)
return true;
else
return false;
}
/* */
/* Description: */
/* Translate a character to hex digit. */

View File

@ -147,8 +147,6 @@ u8 GetHalDefVar(struct adapter *adapter, enum hal_def_variable variable,
bool eqNByte(u8 *str1, u8 *str2, u32 num);
bool IsHexDigit(char chTmp);
u32 MapCharToHexDigit(char chTmp);
bool ParseQualifiedString(char *In, u32 *Start, char *Out, char LeftQualifier,