Re: [f2fs-dev] [PATCH -next] f2fs: remove set but not used variable 'cs_block'

From: Shinichiro Kawasaki
Date: Thu Dec 26 2019 - 03:24:38 EST


On Dec 26, 2019 / 14:05, Yuehaibing wrote:
> On 2019/12/26 11:44, Chao Yu wrote:
> > On 2019/12/24 20:43, YueHaibing wrote:
> >> fs/f2fs/segment.c: In function fix_curseg_write_pointer:
> >> fs/f2fs/segment.c:4485:35: warning: variable cs_block set but not used [-Wunused-but-set-variable]
> >>
> >> It is never used since commit 362d8a920384 ("f2fs: Check
> >> write pointer consistency of open zones") , so remove it.
> >
> > Thanks for the fix!
> >
> > Do you mind merging this patch to original patch? as it's still
> > pending in dev branch.
>
> It's ok for me.
>

Thank you for this catch and the fix. Appreciated.

--
Best Regards,
Shin'ichiro Kawasaki