aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
authorMark Brown <broonie@kernel.org>2026-05-30 00:25:41 +0100
committerMark Brown <broonie@kernel.org>2026-05-30 00:25:41 +0100
commit99befc896988c8b8b3b948b19c9d1a4e40025c07 (patch)
tree34809418b636aa59523859dbabba79ae808bc5a4 /fs
parentff207cd659f8ea635f3f77fceb51cad3ebacb513 (diff)
parentbcfee135d584714c2130031c7e28aafa91057b9a (diff)
downloadlinux-next-history-99befc896988c8b8b3b948b19c9d1a4e40025c07.tar.gz
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/krisman/unicode.git
Diffstat (limited to 'fs')
-rw-r--r--fs/unicode/utf8-core.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/fs/unicode/utf8-core.c b/fs/unicode/utf8-core.c
index 543c60c124615..8c4b8e27e9562 100644
--- a/fs/unicode/utf8-core.c
+++ b/fs/unicode/utf8-core.c
@@ -138,28 +138,6 @@ int utf8_casefold_hash(const struct unicode_map *um, const void *salt,
}
EXPORT_SYMBOL(utf8_casefold_hash);
-int utf8_normalize(const struct unicode_map *um, const struct qstr *str,
- unsigned char *dest, size_t dlen)
-{
- struct utf8cursor cur;
- ssize_t nlen = 0;
-
- if (utf8ncursor(&cur, um, UTF8_NFDI, str->name, str->len) < 0)
- return -EINVAL;
-
- for (nlen = 0; nlen < dlen; nlen++) {
- int c = utf8byte(&cur);
-
- dest[nlen] = c;
- if (!c)
- return nlen;
- if (c == -1)
- break;
- }
- return -EINVAL;
-}
-EXPORT_SYMBOL(utf8_normalize);
-
static const struct utf8data *find_table_version(const struct utf8data *table,
size_t nr_entries, unsigned int version)
{