Btrfs-progs: remove the unnecessary 'return -1;' at the end of bin_search
authorEric Sandeen <sandeen@redhat.com>
Fri, 26 Apr 2013 21:06:09 +0000 (16:06 -0500)
committerDavid Sterba <dsterba@suse.cz>
Fri, 9 Aug 2013 12:32:28 +0000 (14:32 +0200)
commit296b051def1676b6fb7295a9a3a7a1811e7f9fbd
treee4fc2f06ead3869687e34dd5a87555587f37c8ea
parent2e89e55682d950d03ee9e0ff510f969b5b0bdcaf
Btrfs-progs: remove the unnecessary 'return -1;' at the end of bin_search

The code path should not reach there. Remove it.

[Eric Sandeen: port kernel commit 3fed40c to userspace]

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
ctree.c