ext4: remove (almost) unused variables from ext4_expand_extra_isize_ea()
authorJan Kara <jack@suse.cz>
Mon, 29 Aug 2016 19:43:11 +0000 (15:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 Aug 2016 19:43:11 +0000 (15:43 -0400)
commit6e0cd088c01023c02b1e887e02c8b6f3f395344f
tree7834e571ec515cfe8579e51c69cf57384290132f
parent3f2571c1f91f2de729562344b4956786a2c74d73
ext4: remove (almost) unused variables from ext4_expand_extra_isize_ea()

'start' variable is completely unused in ext4_expand_extra_isize_ea().
Variable 'first' is used only once in one place. So just remove them.
Variables 'entry' and 'last' are only really used later in the function
inside a loop. Move their declarations there.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/xattr.c