diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2012-12-26 09:39:50 +0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2012-12-28 06:27:52 +0400 |
commit | 2b50638decdb9a8585654a5acf1c8ce5962f1951 (patch) | |
tree | 71887dfa0124dc314003af82cc23ad510ff880c3 /fs/f2fs/hash.c | |
parent | ce19a5d4321911f98d42e4d724630ae48f413719 (diff) | |
download | linux-2b50638decdb9a8585654a5acf1c8ce5962f1951.tar.xz |
f2fs: clean up unused variables and return values
This patch cleans up a couple of unnecessary codes related to unused variables
and return values.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/hash.c')
-rw-r--r-- | fs/f2fs/hash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c index 5e48baca3597..6977415c52fc 100644 --- a/fs/f2fs/hash.c +++ b/fs/f2fs/hash.c @@ -71,7 +71,7 @@ static void str2hashbuf(const char *msg, int len, unsigned int *buf, int num) f2fs_hash_t f2fs_dentry_hash(const char *name, int len) { - __u32 hash, minor_hash; + __u32 hash; f2fs_hash_t f2fs_hash; const char *p; __u32 in[8], buf[4]; @@ -94,8 +94,6 @@ f2fs_hash_t f2fs_dentry_hash(const char *name, int len) p += 16; } hash = buf[0]; - minor_hash = buf[1]; - f2fs_hash = cpu_to_le32(hash & ~F2FS_HASH_COL_BIT); return f2fs_hash; } |