mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-18 04:34:36 +00:00
f2fs: remove unnecessary return value
Let's remove the unnecessary return value. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
This commit is contained in:
parent
8274de77b7
commit
0e80220ac5
1 changed files with 1 additions and 2 deletions
|
@ -773,13 +773,12 @@ static inline void inc_valid_inode_count(struct f2fs_sb_info *sbi)
|
|||
spin_unlock(&sbi->stat_lock);
|
||||
}
|
||||
|
||||
static inline int dec_valid_inode_count(struct f2fs_sb_info *sbi)
|
||||
static inline void dec_valid_inode_count(struct f2fs_sb_info *sbi)
|
||||
{
|
||||
spin_lock(&sbi->stat_lock);
|
||||
f2fs_bug_on(!sbi->total_valid_inode_count);
|
||||
sbi->total_valid_inode_count--;
|
||||
spin_unlock(&sbi->stat_lock);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline unsigned int valid_inode_count(struct f2fs_sb_info *sbi)
|
||||
|
|
Loading…
Add table
Reference in a new issue