btrfs-progs: remove useless branch in __merge_refs
commitd9b32dd2e9cfd5df62ceb76e939b4a76d1229e94
authorSu Yue <suy.fnst@cn.fujitsu.com>
Tue, 24 Apr 2018 05:52:32 +0000 (24 13:52 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jun 2018 14:37:36 +0000 (7 16:37 +0200)
treea72c86e29c16098cede45c9ad04470ac95202acb
parent6a42806d74c148b7a46c1ea04c53c03e9b12b472
btrfs-progs: remove useless branch in __merge_refs

After call of ref_for_same_block, ref1->parent must equals to
ref2->parent, the block of exchange is never reached.

So remove the block of exchange.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
backref.c