diff options
Diffstat (limited to 'fs/nls')
-rw-r--r-- | fs/nls/nls_base.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nls/nls_base.c b/fs/nls/nls_base.c index 9b0efdad8910..000736d89c95 100644 --- a/fs/nls/nls_base.c +++ b/fs/nls/nls_base.c | |||
@@ -144,7 +144,6 @@ utf8_wcstombs(__u8 *s, const wchar_t *pwcs, int maxlen) | |||
144 | size = utf8_wctomb(op, *ip, maxlen); | 144 | size = utf8_wctomb(op, *ip, maxlen); |
145 | if (size == -1) { | 145 | if (size == -1) { |
146 | /* Ignore character and move on */ | 146 | /* Ignore character and move on */ |
147 | maxlen--; | ||
148 | } else { | 147 | } else { |
149 | op += size; | 148 | op += size; |
150 | maxlen -= size; | 149 | maxlen -= size; |