Skip to content

Commit f439111

Browse files
Kemeng Shijankara
authored andcommitted
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/[email protected] Signed-off-by: Kemeng Shi <[email protected]> Signed-off-by: Jan Kara <[email protected]>
1 parent a838e5d commit f439111

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/quota/dquot.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,6 @@ void dquot_claim_space_nodirty(struct inode *inode, qsize_t number)
18301830
spin_unlock(&inode->i_lock);
18311831
mark_all_dquot_dirty(dquots);
18321832
srcu_read_unlock(&dquot_srcu, index);
1833-
return;
18341833
}
18351834
EXPORT_SYMBOL(dquot_claim_space_nodirty);
18361835

@@ -1872,7 +1871,6 @@ void dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number)
18721871
spin_unlock(&inode->i_lock);
18731872
mark_all_dquot_dirty(dquots);
18741873
srcu_read_unlock(&dquot_srcu, index);
1875-
return;
18761874
}
18771875
EXPORT_SYMBOL(dquot_reclaim_space_nodirty);
18781876

0 commit comments

Comments
 (0)