btrfs: remove dead code from btrfs_get_extent
authorEdmund Nadolski <enadolski@suse.com>
Mon, 20 Nov 2017 20:24:49 +0000 (13:24 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:14 +0000 (16:08 +0100)
commitbf46f52db96795e0c10292d55888640ab57f42c7
treefc9f0dff77fbbd0c8f76d93e8e105c01ee85549d
parent41a1eadad719168ce5f6cfcfda6ea45134f2424a
btrfs: remove dead code from btrfs_get_extent

Due to new_inline logic, the create == 0 is always true at this
point in the code, so the create != 0 branch can be removed.

Signed-off-by: Edmund Nadolski <enadolski@suse.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c