ext4: remove unreachable code in ext4_can_extents_be_merged()
authorEric Sandeen <sandeen@redhat.com>
Mon, 4 Nov 2013 14:58:26 +0000 (09:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 4 Nov 2013 14:58:26 +0000 (09:58 -0500)
Commit ec22ba8e ("ext4: disable merging of uninitialized extents")
ensured that if either extent under consideration is uninit, we
decline to merge, and immediately return.

But right after that test, we test again for an uninit
extent; we can never hit this.  So just remove the impossible
test and associated variable.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>

No differences found