From: Xiao Guangrong Date: Fri, 23 Mar 2012 22:02:15 +0000 (-0700) Subject: prio_tree: simplify prio_tree_expand() X-Git-Tag: v3.4-rc1~109^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742245d5c2ebd75c2a002f8fc2afbdc5c26edd8c;p=pandora-kernel.git prio_tree: simplify prio_tree_expand() In current code, the deleted-node is recorded from first to last, actually, we can directly attach these node on 'node' we will insert as the left child, it can let the code more readable. Signed-off-by: Xiao Guangrong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed