Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318169
b: refs/heads/master
c: 943b002
h: refs/heads/master
i:
  318167: 380f3a4
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 20, 2012
1 parent c6d7df1 commit a6284c2
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 310d5940f521840a92e2572603021c9b58aeab5e
refs/heads/master: 943b0022df97fbf2a34c4d6cb081e8fcb44032b9
1 change: 0 additions & 1 deletion trunk/drivers/staging/csr/csr_unicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ u16 *CsrUtf16ConcatenateTexts(const u16 *inputText1, const u16 *inputText2,
u16 *CsrUtf16String2XML(u16 *str);
u16 *CsrXML2Utf16String(u16 *str);

s32 CsrUtf8StrCmp(const u8 *string1, const u8 *string2);
s32 CsrUtf8StrNCmp(const u8 *string1, const u8 *string2, size_t count);
u32 CsrUtf8StringLengthInBytes(const u8 *string);

Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/staging/csr/csr_utf16.c
Original file line number Diff line number Diff line change
Expand Up @@ -1015,11 +1015,6 @@ u16 *CsrXML2Utf16String(u16 *str)
return resultString;
}

s32 CsrUtf8StrCmp(const u8 *string1, const u8 *string2)
{
return CsrStrCmp((const char *) string1, (const char *) string2);
}

s32 CsrUtf8StrNCmp(const u8 *string1, const u8 *string2, size_t count)
{
return CsrStrNCmp((const char *) string1, (const char *) string2, count);
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/staging/csr/csr_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ size_t CsrStrLen(const char *string)
}
EXPORT_SYMBOL_GPL(CsrStrLen);

s32 CsrStrCmp(const char *string1, const char *string2)
{
return strcmp(string1, string2);
}

s32 CsrStrNCmp(const char *string1, const char *string2, size_t count)
{
return strncmp(string1, string2, count);
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/csr/csr_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ void CsrUInt16ToHex(u16 number, char *str);
/*------------------------------------------------------------------*/
#ifdef CSR_USE_STDC_LIB
#define CsrMemCpy memcpy
#define CsrStrCmp(s1, s2) ((s32) strcmp((s1), (s2)))
#define CsrStrNCmp(s1, s2, n) ((s32) strncmp((s1), (s2), (n)))
#define CsrStrChr strchr
#define CsrStrLen strlen
#else /* !CSR_USE_STDC_LIB */
void *CsrMemCpy(void *dest, const void *src, size_t count);
s32 CsrStrCmp(const char *string1, const char *string2);
s32 CsrStrNCmp(const char *string1, const char *string2, size_t count);
char *CsrStrChr(const char *string, char c);
size_t CsrStrLen(const char *string);
Expand Down

0 comments on commit a6284c2

Please sign in to comment.