lib/sort.c: move include inside #if 0
[firefly-linux-kernel-4.4.55.git] / lib / string.c
index 10063300b83009dfcdc08988d640fc191481dde5..3206d01782969658a0e8838420224e6a4bf33c78 100644 (file)
@@ -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)