commit | 76de60ed044f26f0ab62c2f752cb3d0eade2cde0 | [log] [tgz] |
---|---|---|
author | Yunfeng Ye <yeyunfeng@huawei.com> | Tue Dec 03 16:59:25 2019 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 20 16:40:51 2020 +0100 |
tree | a8a06b31b26458eabe0bce38ba5059356db34125 | |
parent | 36ee0b44ad238c7797e1f7cbefdf75c6cf887101 [diff] |
btrfs: remove unused condition check in btrfs_page_mkwrite() The condition '!ret2' is always true. commit 717beb96d969 ("Btrfs: fix regression in btrfs_page_mkwrite() from vm_fault_t conversion") left behind the check after moving this code out of the goto, so remove the unused condition check. Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>