diff options
author | Yunfeng Ye <yeyunfeng@huawei.com> | 2019-12-03 16:59:25 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-01-20 16:40:51 +0100 |
commit | 76de60ed044f26f0ab62c2f752cb3d0eade2cde0 (patch) | |
tree | a8a06b31b26458eabe0bce38ba5059356db34125 /security | |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions