ext4: remove never taken branch from ext4_ext_shift_path_extents()
authorJan Kara <jack@suse.cz>
Tue, 25 Nov 2014 21:23:48 +0000 (16:23 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 25 Nov 2014 21:23:48 +0000 (16:23 -0500)
commit733ded2a803523f9e082282820821343679cadc6
treec671bc70d6e39f246d39adc86e6ed529c3db0fba
parentc6d3d56dd0ef6c15fc007413c9d024021c178cf9
ext4: remove never taken branch from ext4_ext_shift_path_extents()

path[depth].p_hdr can never be NULL for a path passed to us (and even if
it could, EXT_LAST_EXTENT() would make something != NULL from it). So
just remove the branch.

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