summaryrefslogtreecommitdiff
path: root/fs/ext4/inline.c
diff options
context:
space:
mode:
authorjon ernst <jonernst07@gmail.com>2014-01-11 22:26:56 +0400
committerTheodore Ts'o <tytso@mit.edu>2014-01-11 22:26:56 +0400
commitd7092ae2973f20a39fee786c47e5edf18ced088f (patch)
tree270ee65e620c32aa0041ce6ac5776f60a6e8ffb0 /fs/ext4/inline.c
parent8c9367fd9bf252b57c6d4f8e1a7f9de809d8b862 (diff)
downloadlinux-d7092ae2973f20a39fee786c47e5edf18ced088f.tar.xz
ext4: delete "set but not used" variables
Signed-off-by: Jon Ernst <jonernst07@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Diffstat (limited to 'fs/ext4/inline.c')
-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 ed29e720e880..82edf5b93352 100644
--- a/fs/ext4/inline.c
+++ b/fs/ext4/inline.c
@@ -1841,7 +1841,6 @@ int ext4_try_to_evict_inline_data(handle_t *handle,
{
int error;
struct ext4_xattr_entry *entry;
- struct ext4_xattr_ibody_header *header;
struct ext4_inode *raw_inode;
struct ext4_iloc iloc;
@@ -1850,7 +1849,6 @@ int ext4_try_to_evict_inline_data(handle_t *handle,
return error;
raw_inode = ext4_raw_inode(&iloc);
- header = IHDR(inode, raw_inode);
entry = (struct ext4_xattr_entry *)((void *)raw_inode +
EXT4_I(inode)->i_inline_off);
if (EXT4_XATTR_LEN(entry->e_name_len) +