diff options
author | Anton Salikhmetov <alexo@tuxera.com> | 2010-12-16 18:08:40 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@tuxera.com> | 2010-12-16 18:08:46 +0100 |
commit | 20b7643d8ee44254fc972d42655bace81e7ab50a (patch) | |
tree | a6642fdd127abc31a173d032249cbd319d7ecae9 /fs/hfsplus/unicode.c | |
parent | 21f2296a598c4089e0a9bdf54634269ac913a693 (diff) | |
download | op-kernel-dev-20b7643d8ee44254fc972d42655bace81e7ab50a.zip op-kernel-dev-20b7643d8ee44254fc972d42655bace81e7ab50a.tar.gz |
hfsplus: spaces/indentation clean-up
Fix incorrect spaces and indentation reported by checkpatch.pl.
Signed-off-by: Anton Salikhmetov <alexo@tuxera.com>
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/unicode.c')
-rw-r--r-- | fs/hfsplus/unicode.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/hfsplus/unicode.c b/fs/hfsplus/unicode.c index 15703e8..7dd90a5 100644 --- a/fs/hfsplus/unicode.c +++ b/fs/hfsplus/unicode.c @@ -17,14 +17,14 @@ /* Returns folded char, or 0 if ignorable */ static inline u16 case_fold(u16 c) { - u16 tmp; - - tmp = hfsplus_case_fold_table[c >> 8]; - if (tmp) - tmp = hfsplus_case_fold_table[tmp + (c & 0xff)]; - else - tmp = c; - return tmp; + u16 tmp; + + tmp = hfsplus_case_fold_table[c >> 8]; + if (tmp) + tmp = hfsplus_case_fold_table[tmp + (c & 0xff)]; + else + tmp = c; + return tmp; } /* Compare unicode strings, return values like normal strcmp */ @@ -215,7 +215,7 @@ int hfsplus_uni2asc(struct super_block *sb, goto done; } } - same: +same: switch (c0) { case 0: cc = 0x2400; @@ -226,7 +226,7 @@ int hfsplus_uni2asc(struct super_block *sb, default: cc = c0; } - done: +done: res = nls->uni2char(cc, op, len); if (res < 0) { if (res == -ENAMETOOLONG) |