From: wang.bo116@zte.com.cn Date: Fri, 16 Aug 2013 07:43:36 +0000 (+0800) Subject: UBIFS: remove unnecessary code in ubifs_garbage_collect X-Git-Tag: v3.13-rc1~110^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e71d1a59e757201454fd3cf66ddaceaf961bfb41;p=pandora-kernel.git UBIFS: remove unnecessary code in ubifs_garbage_collect 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 Acked-by: Brian Norris Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed