diff options
author | Azat Khuzhin <a3at.mail@gmail.com> | 2013-10-30 10:53:10 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-10-30 10:53:10 -0400 |
commit | 5ba052fe33807893a26076d2ac95cf31d5e0b578 (patch) | |
tree | 956c0929362ec9f83c9a741ae2c4d3132f4f4b1b | |
parent | 48ffdab1c1eb87fee9ed7366472e2b9aa4577a60 (diff) |
ext4: drop set but otherwise unused variable from ext4_add_dirent_to_inline()
Signed-off-by: Azat Khuzhin <a3at.mail@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r-- | fs/ext4/inline.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index c3efb65d2ec6..bae987549dc3 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c | |||
@@ -994,11 +994,9 @@ static int ext4_add_dirent_to_inline(handle_t *handle, | |||
994 | struct inode *dir = dentry->d_parent->d_inode; | 994 | struct inode *dir = dentry->d_parent->d_inode; |
995 | const char *name = dentry->d_name.name; | 995 | const char *name = dentry->d_name.name; |
996 | int namelen = dentry->d_name.len; | 996 | int namelen = dentry->d_name.len; |
997 | unsigned short reclen; | ||
998 | int err; | 997 | int err; |
999 | struct ext4_dir_entry_2 *de; | 998 | struct ext4_dir_entry_2 *de; |
1000 | 999 | ||
1001 | reclen = EXT4_DIR_REC_LEN(namelen); | ||
1002 | err = ext4_find_dest_de(dir, inode, iloc->bh, | 1000 | err = ext4_find_dest_de(dir, inode, iloc->bh, |
1003 | inline_start, inline_size, | 1001 | inline_start, inline_size, |
1004 | name, namelen, &de); | 1002 | name, namelen, &de); |