diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-18 17:23:34 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-07-06 17:39:46 -0400 |
commit | 6aab6dd37946d0d592105872bd533bb7d2931f3f (patch) | |
tree | 4f70e41310abcaa6db31885599fabdaa8951dbf1 /firmware/emi26 | |
parent | 6d1ebbca2b2fe516ff5f279848cffbd23d2b0270 (diff) |
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to 'firmware/emi26')
0 files changed, 0 insertions, 0 deletions