diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-20 17:19:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-20 17:19:46 -0400 |
commit | c80b2e3f62f335b137e02b63c339e33831407702 (patch) | |
tree | 976834a1b9fae0286fe1c1783b3bf234ccb9386b /drivers/staging | |
parent | 85a334e3ce9cc94ab02968882ba7235237c7920d (diff) |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/csr/csr_util.c | 6 | ||||
-rw-r--r-- | drivers/staging/csr/csr_util.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/csr/csr_util.c b/drivers/staging/csr/csr_util.c index 0b7b63226ea..20dbe3e040e 100644 --- a/drivers/staging/csr/csr_util.c +++ b/drivers/staging/csr/csr_util.c | |||
@@ -42,12 +42,6 @@ void *CsrMemCpy(void *dest, const void *src, size_t count) | |||
42 | return memcpy(dest, src, count); | 42 | return memcpy(dest, src, count); |
43 | } | 43 | } |
44 | EXPORT_SYMBOL_GPL(CsrMemCpy); | 44 | EXPORT_SYMBOL_GPL(CsrMemCpy); |
45 | |||
46 | void *CsrMemMove(void *dest, const void *src, size_t count) | ||
47 | { | ||
48 | return memmove(dest, src, count); | ||
49 | } | ||
50 | EXPORT_SYMBOL_GPL(CsrMemMove); | ||
51 | #endif | 45 | #endif |
52 | 46 | ||
53 | #ifndef CSR_USE_STDC_LIB | 47 | #ifndef CSR_USE_STDC_LIB |
diff --git a/drivers/staging/csr/csr_util.h b/drivers/staging/csr/csr_util.h index f04671291d4..e4987b14216 100644 --- a/drivers/staging/csr/csr_util.h +++ b/drivers/staging/csr/csr_util.h | |||
@@ -28,7 +28,6 @@ void CsrUInt16ToHex(u16 number, char *str); | |||
28 | /*------------------------------------------------------------------*/ | 28 | /*------------------------------------------------------------------*/ |
29 | #ifdef CSR_USE_STDC_LIB | 29 | #ifdef CSR_USE_STDC_LIB |
30 | #define CsrMemCpy memcpy | 30 | #define CsrMemCpy memcpy |
31 | #define CsrMemMove memmove | ||
32 | #define CsrStrCpy strcpy | 31 | #define CsrStrCpy strcpy |
33 | #define CsrStrNCpy strncpy | 32 | #define CsrStrNCpy strncpy |
34 | #define CsrStrCmp(s1, s2) ((s32) strcmp((s1), (s2))) | 33 | #define CsrStrCmp(s1, s2) ((s32) strcmp((s1), (s2))) |
@@ -37,7 +36,6 @@ void CsrUInt16ToHex(u16 number, char *str); | |||
37 | #define CsrStrLen strlen | 36 | #define CsrStrLen strlen |
38 | #else /* !CSR_USE_STDC_LIB */ | 37 | #else /* !CSR_USE_STDC_LIB */ |
39 | void *CsrMemCpy(void *dest, const void *src, size_t count); | 38 | void *CsrMemCpy(void *dest, const void *src, size_t count); |
40 | void *CsrMemMove(void *dest, const void *src, size_t count); | ||
41 | char *CsrStrCpy(char *dest, const char *src); | 39 | char *CsrStrCpy(char *dest, const char *src); |
42 | char *CsrStrNCpy(char *dest, const char *src, size_t count); | 40 | char *CsrStrNCpy(char *dest, const char *src, size_t count); |
43 | s32 CsrStrCmp(const char *string1, const char *string2); | 41 | s32 CsrStrCmp(const char *string1, const char *string2); |