diff options
author | David Sterba <dsterba@suse.cz> | 2014-09-29 19:20:37 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-02 16:06:19 +0200 |
commit | 5d99a998f375b7bff7ddff0162a6eed4d4ca1318 (patch) | |
tree | 29b629d44ad9001fd7d8d283e4a9c4f6164747d0 /fs/btrfs/inode.c | |
parent | 1d52c78afbbf80b58299e076a159617d6b42fe3c (diff) | |
download | linux-5d99a998f375b7bff7ddff0162a6eed4d4ca1318.tar.bz2 |
btrfs: remove unlikely from NULL checks
Unlikely is implicit for NULL checks of pointers.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 344a322eb386..998e67fdf2f6 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -9013,7 +9013,7 @@ static int __start_delalloc_inodes(struct btrfs_root *root, int delay_iput, spin_unlock(&root->delalloc_lock); work = btrfs_alloc_delalloc_work(inode, 0, delay_iput); - if (unlikely(!work)) { + if (!work) { if (delay_iput) btrfs_add_delayed_iput(inode); else |