On 2026-07-01T17:15:27, Rasmus Villemoes <[email protected]> wrote: > sh: clean up asm/string.h > > First, remove the !__KERNEL__ block, since U-Boot is always compiled > with -D__KERNEL__. > > Second, remove the mention of the non-existing file > arch/sh/lib/strcasecmp.c and the redundant declaration of strcasecmp() > If sh did have a strcasecmp.c file, presumably the header would have > had to #define __HAVE_ARCH_STRCASECMP. > > Third, remove the explicit #undefs of various __HAVE_ARCH_* and > redundant declarations of standard functions, which are anyway > declared in linux/string.h. In the linux source tree, those are all > #defines, and indeed linux does have asm implementations of those functions. > > Signed-off-by: Rasmus Villemoes <[email protected]> > > arch/sh/include/asm/string.h | 51 -------------------------------------------- > 1 file changed, 51 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

