Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b784f45 authored by Yunlong Song's avatar Yunlong Song Committed by Jaegeuk Kim
Browse files

f2fs: remove unused function overprovision_sections



commit f24b150a63b208f4437efc7dc7a42954363641ca upstream.

Signed-off-by: default avatarYunlong Song <yunlong.song@huawei.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent aa2e98fd
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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));