summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2013-10-30 10:53:10 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-10-30 10:53:10 -0400
commit5ba052fe33807893a26076d2ac95cf31d5e0b578 (patch)
tree956c0929362ec9f83c9a741ae2c4d3132f4f4b1b /fs/ext4
parent48ffdab1c1eb87fee9ed7366472e2b9aa4577a60 (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>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/inline.c2
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,
struct inode *dir = dentry->d_parent->d_inode;
const char *name = dentry->d_name.name;
int namelen = dentry->d_name.len;
- unsigned short reclen;
int err;
struct ext4_dir_entry_2 *de;
- reclen = EXT4_DIR_REC_LEN(namelen);
err = ext4_find_dest_de(dir, inode, iloc->bh,
inline_start, inline_size,
name, namelen, &de);