[PATCH] UBIFS: remove unnecessary code in ubifs_garbage_collect
Artem Bityutskiy
dedekind1 at gmail.com
Tue Oct 22 07:44:24 PDT 2013
On Sat, 2013-10-19 at 10:27 -0300, Ezequiel Garcia wrote:
> (Ccing Artem who might have missed this one)
>
> On Mon, Sep 16, 2013 at 06:51:05PM -0700, Brian Norris wrote:
> > On Fri, Aug 16, 2013 at 03:43:36PM +0800, wang.bo116 at zte.com.cn wrote:
> > > Hi,
> > > In ubifs_garbage_collect,local variable "space_before" calculate twice. In fact, at the
> > > beginning of the loop, there is no need to calculate this variable. Calculate it before call
> > > "ubifs_garbage_collect_leb" is enough. This patch just remove the unnecessary calculate code.
> > >
> > >
> > >
> > > Signed-off-by: wang bo <wang.bo116 at zte.com.cn>
> >
> > Acked-by: Brian Norris <computersforpeace at gmail.com>
Pushed to linux-ubifs.git, thanks!
--
Best Regards,
Artem Bityutskiy
More information about the linux-mtd
mailing list