summaryrefslogtreecommitdiff
path: root/arch/nios2/lib/memset.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-09 16:36:10 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-09 16:36:10 -0800
commitf4d68930a88219ffda60f137dcc858e4f5db6680 (patch)
tree024c8ae8d288a858b6b1c58ae8c1ef7dcfa481f8 /arch/nios2/lib/memset.c
parent3510ca19a82ba4c6a17af79c1f0448622a406efa (diff)
parentbb3fc5ddef93836a36a39308cf7eca82ef0a1c4c (diff)
Merge tag 'nios2-v4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2
Pull nios2 updates from Ley Foon Tan: - nios2: Remove unnecessary #ifdef guards - nios2: Switch to generic __xchg() - nios2: Fix unused variable warning * tag 'nios2-v4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2: nios2: Remove unnecessary #ifdef guards nios2: Switch to generic __xchg() nios2: Fix unused variable warning
Diffstat (limited to 'arch/nios2/lib/memset.c')
-rw-r--r--arch/nios2/lib/memset.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/nios2/lib/memset.c b/arch/nios2/lib/memset.c
index 65e97802f5cc..c2cfcb121e34 100644
--- a/arch/nios2/lib/memset.c
+++ b/arch/nios2/lib/memset.c
@@ -10,7 +10,6 @@
#include <linux/types.h>
#include <linux/string.h>
-#ifdef __HAVE_ARCH_MEMSET
void *memset(void *s, int c, size_t count)
{
int destptr, charcnt, dwordcnt, fill8reg, wrkrega;
@@ -78,4 +77,3 @@ void *memset(void *s, int c, size_t count)
return s;
}
-#endif /* __HAVE_ARCH_MEMSET */