From: Kemeng Shi Date: Mon, 15 Jul 2024 13:05:33 +0000 (+0800) Subject: quota: remove redundant return at end of void function X-Git-Tag: v6.12-rc1~100^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f439111b489167dce14ade4e848be8a1b23283ff;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Jan Kara --- diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 1ddd1e9d1eeb1..156bdd570ef63 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);