From: Al Viro Date: Thu, 18 Jun 2015 21:23:34 +0000 (-0400) Subject: ufs_trunc_branch(): massage towards killing recursion X-Git-Tag: omap-for-v4.3/fixes-rc1~80^2~5^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aab6dd37946d0d592105872bd533bb7d2931f3f;p=pandora-kernel.git ufs_trunc_branch(): massage towards killing recursion We always have 0 < depth2 <= depth in there, so if (--depth) { if (--depth2) A B } else { C // not using depth2 } D // not using depth2 is equivalent to if (--depth2) A with s/depth/depth - 1/ if (--depth) B else C D Signed-off-by: Al Viro --- Reading git-diff-tree failed