summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2026-04-21 09:54:33 +0200
committerTom Rini <[email protected]>2026-05-12 15:38:00 -0600
commit349d148f16d83da3b1e3475be0e43bfda4f4ab71 (patch)
tree581addc68b59cb53a95c63d3f33b3f418707d12a /scripts/const_structs.checkpatch
parent719cacb92e039308e23cbd6b653275e939a5aca5 (diff)
lib/string.c: drop pointless __HAVE_ARCH_STRDUP
There has never been an arch-specific optimized implementation of str[n]dup, nor is there likely to ever be one, because unlike their cousins strlen(), strcpy() and similar that simply read/write the src/dst, the dup functions by definition involve memory allocation. So drop this irrelevant cpp guard. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions