diff options
Diffstat (limited to 'fs/exfat')
-rw-r--r-- | fs/exfat/nls.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/exfat/nls.c b/fs/exfat/nls.c index 19321773dd07..c1ec05695497 100644 --- a/fs/exfat/nls.c +++ b/fs/exfat/nls.c @@ -514,8 +514,6 @@ static int exfat_utf8_to_utf16(struct super_block *sb, return -ENAMETOOLONG; } - p_uniname->name_len = unilen & 0xFF; - for (i = 0; i < unilen; i++) { if (*uniname < 0x0020 || exfat_wstrchr(bad_uni_chars, *uniname)) |