On 2026-07-01T17:15:27, Rasmus Villemoes <[email protected]> wrote: > string: remove more pointless __HAVE_ARCH_STR* > > None of these six macros are defined by any architecture. Moreover, > the ifndef guard only exists in either string.h or string.c, making them > completely pointless. > > I'm not sure whether we have an explicit coding style discouraging the > 'extern' qualifier on function declarations, and string.h has a random > mix of everything, but I can't leave it on strncasecmp() now that it > will be immediately after strcasecmp() which doesn't have it. > > Signed-off-by: Rasmus Villemoes <[email protected]> > > include/linux/string.h | 6 +----- > lib/string.c | 8 -------- > 2 files changed, 1 insertion(+), 13 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

