From: Azat Khuzhin Date: Wed, 30 Oct 2013 14:53:10 +0000 (-0400) Subject: ext4: drop set but otherwise unused variable from ext4_add_dirent_to_inline() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5ba052fe33807893a26076d2ac95cf31d5e0b578;p=linux-beck.git ext4: drop set but otherwise unused variable from ext4_add_dirent_to_inline() Signed-off-by: Azat Khuzhin Signed-off-by: "Theodore Ts'o" --- 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);