From: Yunlong Song Date: Mon, 14 Aug 2017 08:52:43 +0000 (+0800) Subject: f2fs: remove unused function overprovision_sections X-Git-Tag: Ubuntu-5.2.0-15.16~6002^2~27 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f24b150a63b208f4437efc7dc7a42954363641ca;p=mirror_ubuntu-eoan-kernel.git f2fs: remove unused function overprovision_sections Signed-off-by: Yunlong Song Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index 7f700e54b77d..b9b4f85ffeb6 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -492,11 +492,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));