btrfs: remove unlikely from NULL checks

Unlikely is implicit for NULL checks of pointers.

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
David Sterba
2014-09-29 19:20:37 +02:00
parent 1d52c78afb
commit 5d99a998f3
2 changed files with 6 additions and 6 deletions

View File

@@ -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