diff options
| author | Rasmus Villemoes <[email protected]> | 2026-07-08 22:37:05 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-21 13:51:07 -0600 |
| commit | a31d9375dfbd7f0f4030c0b81f2030ff554529be (patch) | |
| tree | a92672ba203671313e94be1f65e5b97bf097edbe /api/api_platform.c | |
| parent | 6b58f877bdd70003b6c57b540693c2e188b8cc8a (diff) | |
string: remove unused strswab() function
The last use of this function with rather peculiar semantics[*] vanished
in 2021 with 0a527fda782 ("Fix IDE commands issued, fix endian issues,
fix non MMIO"). It has no tests, and should a need for something
similar ever appear, it is better done with some proper
utf16le/utf16be/utf16 abstractions rather than cluttering code with
'#ifdef __LITTLE_ENDIAN'.
[*] The byte-swapping itself is weird enough. But why is an input string
of odd length ok, while the empty string is not allowed?
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'api/api_platform.c')
0 files changed, 0 insertions, 0 deletions
