diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-11-26 02:36:20 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-22 20:18:03 -0500 |
commit | 0e80220ac554ea55fd867dede91f0054a13cf85c (patch) | |
tree | cbd9edbf76c59db12039667449e7c86f0b7fbe68 /fs/f2fs/f2fs.h | |
parent | 8274de77b7072d983fe4b452b981b3e520f12698 (diff) |
f2fs: remove unnecessary return value
Let's remove the unnecessary return value.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 72456ec3a3e2..1f1bc58d50ed 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -773,13 +773,12 @@ static inline void inc_valid_inode_count(struct f2fs_sb_info *sbi) | |||
773 | spin_unlock(&sbi->stat_lock); | 773 | spin_unlock(&sbi->stat_lock); |
774 | } | 774 | } |
775 | 775 | ||
776 | static inline int dec_valid_inode_count(struct f2fs_sb_info *sbi) | 776 | static inline void dec_valid_inode_count(struct f2fs_sb_info *sbi) |
777 | { | 777 | { |
778 | spin_lock(&sbi->stat_lock); | 778 | spin_lock(&sbi->stat_lock); |
779 | f2fs_bug_on(!sbi->total_valid_inode_count); | 779 | f2fs_bug_on(!sbi->total_valid_inode_count); |
780 | sbi->total_valid_inode_count--; | 780 | sbi->total_valid_inode_count--; |
781 | spin_unlock(&sbi->stat_lock); | 781 | spin_unlock(&sbi->stat_lock); |
782 | return 0; | ||
783 | } | 782 | } |
784 | 783 | ||
785 | static inline unsigned int valid_inode_count(struct f2fs_sb_info *sbi) | 784 | static inline unsigned int valid_inode_count(struct f2fs_sb_info *sbi) |