summaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorRasmus Villemoes2015-02-13 00:02:15 +0100
committerLinus Torvalds2015-02-13 03:54:14 +0100
commitaf3cd13501eb04ca61d017ff4406f1cbffafdc04 (patch)
tree5db6541c752c18f453fd37d990932fb47cde82fe /lib/string.c
parentlib/bitmap.c: make the bits parameter of bitmap_remap unsigned (diff)
downloadkernel-qcow2-linux-af3cd13501eb04ca61d017ff4406f1cbffafdc04.tar.gz
kernel-qcow2-linux-af3cd13501eb04ca61d017ff4406f1cbffafdc04.tar.xz
kernel-qcow2-linux-af3cd13501eb04ca61d017ff4406f1cbffafdc04.zip
lib/string.c: remove strnicmp()
Now that all in-tree users of strnicmp have been converted to strncasecmp, the wrapper can be removed. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: David Howells <dhowells@redhat.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/string.c')
-rw-r--r--lib/string.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/string.c b/lib/string.c
index 10063300b830..3206d0178296 100644
--- a/lib/string.c
+++ b/lib/string.c
@@ -58,14 +58,6 @@ int strncasecmp(const char *s1, const char *s2, size_t len)
}
EXPORT_SYMBOL(strncasecmp);
#endif
-#ifndef __HAVE_ARCH_STRNICMP
-#undef strnicmp
-int strnicmp(const char *s1, const char *s2, size_t len)
-{
- return strncasecmp(s1, s2, len);
-}
-EXPORT_SYMBOL(strnicmp);
-#endif
#ifndef __HAVE_ARCH_STRCASECMP
int strcasecmp(const char *s1, const char *s2)