summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/nios2/shared/misc/memcpy.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-03-09 16:22:25 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-03-13 08:05:38 +0100
commita4570829708771783f81134e3fc4a66a1f20a776 (patch)
tree952d560c7f9a6246fd7da6203e59ca3c69614fc1 /c/src/lib/libcpu/nios2/shared/misc/memcpy.c
parentsparc/include/rtems/score/types.h: Eliminate this file (diff)
downloadrtems-a4570829708771783f81134e3fc4a66a1f20a776.tar.bz2
bsps: Remove unused memcpy() implementations
This patch is a part of the BSP source reorganization. Update #3285.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/nios2/shared/misc/memcpy.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/c/src/lib/libcpu/nios2/shared/misc/memcpy.c b/c/src/lib/libcpu/nios2/shared/misc/memcpy.c
deleted file mode 100644
index ceae3c6548..0000000000
--- a/c/src/lib/libcpu/nios2/shared/misc/memcpy.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * C library memcpy routine
- *
- * This routine shall get code to optimize performance on NIOS II
- *
- * The routine is placed in this source directory to ensure that it
- * is picked up by all applications.
- */
-
-#include <string.h>
-
-void *
-memcpy(void *s1, const void *s2, size_t n)
-{
- char *p1 = s1;
- const char *p2 = s2;
- size_t left = n;
-
- while(left > 0) *(p1++) = *(p2++);
- return s1;
-}