From 983bebbea304f65daf5baa9a913e66ff6e8fa6ba Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 3 May 2006 01:00:39 +0200 Subject: [PATCH] Scheduled for removal: strnicmp() which is unused --- CHANGELOG | 6 ++++++ include/linux/string.h | 2 +- lib_generic/string.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 561558d0ef..74ef7202ce 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,12 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Scheduled for removal: strnicmp() which is unused + +* Update for Intel Monahans boards: + - support for magic key detection and handling on delta board + - NAND support for zylonite board + some minor cleanup + * Declare load_serial_ymodem() when using CFG_CMD_LOADB. Patch by Jon Loeliger, 01. May 2006 diff --git a/include/linux/string.h b/include/linux/string.h index 1a45fd3215..62390399b0 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -38,7 +38,7 @@ extern int strcmp(const char *,const char *); #ifndef __HAVE_ARCH_STRNCMP extern int strncmp(const char *,const char *,__kernel_size_t); #endif -#ifndef __HAVE_ARCH_STRNICMP +#if 0 /* not used - was: #ifndef __HAVE_ARCH_STRNICMP */ extern int strnicmp(const char *, const char *, __kernel_size_t); #endif #ifndef __HAVE_ARCH_STRCHR diff --git a/lib_generic/string.c b/lib_generic/string.c index 0e99d1b2b5..e0b793abbe 100644 --- a/lib_generic/string.c +++ b/lib_generic/string.c @@ -21,7 +21,7 @@ #include -#ifndef __HAVE_ARCH_STRNICMP +#if 0 /* not used - was: #ifndef __HAVE_ARCH_STRNICMP */ /** * strnicmp - Case insensitive, length-limited string comparison * @s1: One string -- 2.39.5