mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 01:25:39 +01:00
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>
This commit is contained in:
parent
629481c3dc
commit
38117692d6
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user