Commit c80b2e3f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: csr: remove CsrMemMove()

No one was using it (it was also just a wrapper for memmove).

Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com>
Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com>
Cc: Riku Mettälä <riku.mettala@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 85a334e3
...@@ -42,12 +42,6 @@ void *CsrMemCpy(void *dest, const void *src, size_t count) ...@@ -42,12 +42,6 @@ void *CsrMemCpy(void *dest, const void *src, size_t count)
return memcpy(dest, src, count); return memcpy(dest, src, count);
} }
EXPORT_SYMBOL_GPL(CsrMemCpy); EXPORT_SYMBOL_GPL(CsrMemCpy);
void *CsrMemMove(void *dest, const void *src, size_t count)
{
return memmove(dest, src, count);
}
EXPORT_SYMBOL_GPL(CsrMemMove);
#endif #endif
#ifndef CSR_USE_STDC_LIB #ifndef CSR_USE_STDC_LIB
......
...@@ -28,7 +28,6 @@ void CsrUInt16ToHex(u16 number, char *str); ...@@ -28,7 +28,6 @@ void CsrUInt16ToHex(u16 number, char *str);
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
#ifdef CSR_USE_STDC_LIB #ifdef CSR_USE_STDC_LIB
#define CsrMemCpy memcpy #define CsrMemCpy memcpy
#define CsrMemMove memmove
#define CsrStrCpy strcpy #define CsrStrCpy strcpy
#define CsrStrNCpy strncpy #define CsrStrNCpy strncpy
#define CsrStrCmp(s1, s2) ((s32) strcmp((s1), (s2))) #define CsrStrCmp(s1, s2) ((s32) strcmp((s1), (s2)))
...@@ -37,7 +36,6 @@ void CsrUInt16ToHex(u16 number, char *str); ...@@ -37,7 +36,6 @@ void CsrUInt16ToHex(u16 number, char *str);
#define CsrStrLen strlen #define CsrStrLen strlen
#else /* !CSR_USE_STDC_LIB */ #else /* !CSR_USE_STDC_LIB */
void *CsrMemCpy(void *dest, const void *src, size_t count); void *CsrMemCpy(void *dest, const void *src, size_t count);
void *CsrMemMove(void *dest, const void *src, size_t count);
char *CsrStrCpy(char *dest, const char *src); char *CsrStrCpy(char *dest, const char *src);
char *CsrStrNCpy(char *dest, const char *src, size_t count); char *CsrStrNCpy(char *dest, const char *src, size_t count);
s32 CsrStrCmp(const char *string1, const char *string2); s32 CsrStrCmp(const char *string1, const char *string2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment