diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2024-07-15 15:05:33 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-07-22 18:13:50 +0200 |
commit | f439111b489167dce14ade4e848be8a1b23283ff (patch) | |
tree | 0fdf786adaf332f49cdaf589ffcac76e0d68e4a6 | |
parent | quota: remove unneeded return value of register_quota_format (diff) | |
download | linux-f439111b489167dce14ade4e848be8a1b23283ff.tar.xz linux-f439111b489167dce14ade4e848be8a1b23283ff.zip |
quota: remove redundant return at end of void function
Function dquot_claim_space_nodirty nad dquot_reclaim_space_nodirty have
no return value, just remove redundant return at end of the functions.
Link: https://patch.msgid.link/20240715130534.2112678-4-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r-- | fs/quota/dquot.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 1ddd1e9d1eeb..156bdd570ef6 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c @@ -1830,7 +1830,6 @@ void dquot_claim_space_nodirty(struct inode *inode, qsize_t number) spin_unlock(&inode->i_lock); mark_all_dquot_dirty(dquots); srcu_read_unlock(&dquot_srcu, index); - return; } EXPORT_SYMBOL(dquot_claim_space_nodirty); @@ -1872,7 +1871,6 @@ void dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number) spin_unlock(&inode->i_lock); mark_all_dquot_dirty(dquots); srcu_read_unlock(&dquot_srcu, index); - return; } EXPORT_SYMBOL(dquot_reclaim_space_nodirty); |