Now that all in-tree users of strnicmp have been converted to strncasecmp, the wrapper can be removed.
Showing the changes to lib/string.c (1 of 4 files). Show all
Unified · Split
| @@ -58,14 +58,6 @@ int strncasecmp(const char *s1, const char *s2, size_t len) · 57 unmodified lines | |||
| 58 | } | 58 | } |
| 59 | EXPORT_SYMBOL(strncasecmp); | 59 | EXPORT_SYMBOL(strncasecmp); |
| 60 | #endif | 60 | #endif |
| 61 | #ifndef __HAVE_ARCH_STRNICMP | ||
| 62 | #undef strnicmp | ||
| 63 | int strnicmp(const char *s1, const char *s2, size_t len) | ||
| 64 | { | ||
| 65 | return strncasecmp(s1, s2, len); | ||
| 66 | } | ||
| 67 | EXPORT_SYMBOL(strnicmp); | ||
| 68 | #endif | ||
| 69 | 61 | ||
| 70 | #ifndef __HAVE_ARCH_STRCASECMP | 62 | #ifndef __HAVE_ARCH_STRCASECMP |
| 71 | int strcasecmp(const char *s1, const char *s2) | 63 | int strcasecmp(const char *s1, const char *s2) |