summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2026-04-21 09:54:32 +0200
committerTom Rini <[email protected]>2026-05-12 15:38:00 -0600
commit719cacb92e039308e23cbd6b653275e939a5aca5 (patch)
treee18a7908c4891128540d85d9a5646df0c5d0d723 /scripts/const_structs.checkpatch
parentca1c292d2ee6bcb06be71400d25ae37e9dc2c1aa (diff)
stdio: drop stdio_clone
The helper stdio_clone only has a single caller, so it certainly doesn't need to be public. But in fact, it is merely an open-coded memdup() - which for some reason uses calloc() even if the whole allocation is obviously immediately overwritten. Drop it and just use memdup() directly. 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