btrfs: cleanup, remove stray return statements
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
352dd9c8d3
commit
7928d672ff
6 changed files with 0 additions and 9 deletions
|
@ -3962,7 +3962,6 @@ static void __btrfs_btree_balance_dirty(struct btrfs_root *root,
|
||||||
balance_dirty_pages_ratelimited(
|
balance_dirty_pages_ratelimited(
|
||||||
root->fs_info->btree_inode->i_mapping);
|
root->fs_info->btree_inode->i_mapping);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void btrfs_btree_balance_dirty(struct btrfs_root *root)
|
void btrfs_btree_balance_dirty(struct btrfs_root *root)
|
||||||
|
|
|
@ -5304,7 +5304,6 @@ void btrfs_evict_inode(struct inode *inode)
|
||||||
no_delete:
|
no_delete:
|
||||||
btrfs_remove_delayed_node(inode);
|
btrfs_remove_delayed_node(inode);
|
||||||
clear_inode(inode);
|
clear_inode(inode);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -56,7 +56,6 @@ void btrfs_set_lock_blocking_rw(struct extent_buffer *eb, int rw)
|
||||||
atomic_dec(&eb->spinning_readers);
|
atomic_dec(&eb->spinning_readers);
|
||||||
read_unlock(&eb->lock);
|
read_unlock(&eb->lock);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -96,7 +95,6 @@ void btrfs_clear_lock_blocking_rw(struct extent_buffer *eb, int rw)
|
||||||
waitqueue_active(&eb->read_lock_wq))
|
waitqueue_active(&eb->read_lock_wq))
|
||||||
wake_up(&eb->read_lock_wq);
|
wake_up(&eb->read_lock_wq);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -503,7 +503,6 @@ static void cache_rbio(struct btrfs_raid_bio *rbio)
|
||||||
}
|
}
|
||||||
|
|
||||||
spin_unlock_irqrestore(&table->cache_lock, flags);
|
spin_unlock_irqrestore(&table->cache_lock, flags);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -906,7 +905,6 @@ static void raid_write_end_io(struct bio *bio)
|
||||||
err = -EIO;
|
err = -EIO;
|
||||||
|
|
||||||
rbio_orig_end_io(rbio, err);
|
rbio_orig_end_io(rbio, err);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1514,8 +1514,6 @@ static void scrub_recheck_block(struct btrfs_fs_info *fs_info,
|
||||||
|
|
||||||
if (sblock->no_io_error_seen)
|
if (sblock->no_io_error_seen)
|
||||||
scrub_recheck_block_checksum(sblock);
|
scrub_recheck_block_checksum(sblock);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int scrub_check_fsid(u8 fsid[],
|
static inline int scrub_check_fsid(u8 fsid[],
|
||||||
|
|
|
@ -1642,7 +1642,6 @@ static void update_dev_time(char *path_name)
|
||||||
return;
|
return;
|
||||||
file_update_time(filp);
|
file_update_time(filp);
|
||||||
filp_close(filp, NULL);
|
filp_close(filp, NULL);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int btrfs_rm_dev_item(struct btrfs_root *root,
|
static int btrfs_rm_dev_item(struct btrfs_root *root,
|
||||||
|
|
Loading…
Add table
Reference in a new issue