diff options
| author | Rasmus Villemoes <[email protected]> | 2015-02-12 23:02:15 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-13 02:54:14 +0000 |
| commit | af3cd13501eb04ca61d017ff4406f1cbffafdc04 (patch) | |
| tree | 5db6541c752c18f453fd37d990932fb47cde82fe /lib/string.c | |
| parent | lib/bitmap.c: make the bits parameter of bitmap_remap unsigned (diff) | |
| download | kernel-af3cd13501eb04ca61d017ff4406f1cbffafdc04.tar.gz kernel-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 <[email protected]>
Cc: David Howells <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string.c')
| -rw-r--r-- | lib/string.c | 8 |
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) |
