Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbdHOMhL (ORCPT ); Tue, 15 Aug 2017 08:37:11 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3538 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751129AbdHOMhJ (ORCPT ); Tue, 15 Aug 2017 08:37:09 -0400 Subject: Re: [PATCH] f2fs: remove unused function overprovision_sections To: Yunlong Song , , , CC: , , , , References: <1502700763-73036-1-git-send-email-yunlong.song@huawei.com> From: Chao Yu Message-ID: <2983d28f-abfd-1b76-82c7-0c39a2d14e87@huawei.com> Date: Tue, 15 Aug 2017 20:36:45 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1502700763-73036-1-git-send-email-yunlong.song@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A0B0202.5992EAEA.012F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: cef756ef0ca4315a3c56faaa520c95ed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 792 Lines: 26 On 2017/8/14 16:52, Yunlong Song wrote: > Signed-off-by: Yunlong Song Reviewed-by: Chao Yu > --- > fs/f2fs/segment.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h > index 7f700e5..b9b4f85 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)); >