btrfs-progs: code cleanup for root-tree.c/btrfs_del_root
authorWang Sheng-Hui <shhuiw@gmail.com>
Thu, 16 Aug 2012 14:25:20 +0000 (22:25 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 7 Feb 2013 00:19:50 +0000 (01:19 +0100)
commit50e3ff573c65b563252d390d21b10b16d406f189
treedc2c4e78c2a8500c38d29830295e026317287ae5
parent8a46573c2a6bc68385538e5d10131c984df198e9
btrfs-progs: code cleanup for root-tree.c/btrfs_del_root

Remove the redundant if check on the condition ret > 0.
Leave BUG_ON check here.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
root-tree.c