diff options
| author | Yunlong Song <yunlong.song@huawei.com> | 2017-08-14 16:52:43 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-10-04 15:34:37 +0200 |
| commit | e8c4b30cab04e04fc25c84766db8556bf88b158f (patch) | |
| tree | 6cd1df24e53dad52e91e9b26365c4e305886bfb6 | |
| parent | 95264fa84c3ef2eceeb00bb3bdc795b089c8cd54 (diff) | |
f2fs: remove unused function overprovision_sections
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
| -rw-r--r-- | fs/f2fs/segment.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index a60d05729..7eba54ef2 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -491,11 +491,6 @@ static inline int overprovision_segments(struct f2fs_sb_info *sbi) return SM_I(sbi)->ovp_segments; } -static inline int overprovision_sections(struct f2fs_sb_info *sbi) -{ - return GET_SEC_FROM_SEG(sbi, (unsigned int)overprovision_segments(sbi)); -} - static inline int reserved_sections(struct f2fs_sb_info *sbi) { return GET_SEC_FROM_SEG(sbi, (unsigned int)reserved_segments(sbi)); |
