From: Alexander Duyck Date: Thu, 22 Jan 2015 23:51:33 +0000 (-0800) Subject: fib_trie: Use empty_children instead of counting empty nodes in stats collection X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~150^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30cfe7c9c88d73440560d7e381bab12f5463a6cd;p=pandora-kernel.git fib_trie: Use empty_children instead of counting empty nodes in stats collection It doesn't make much sense to count the pointers ourselves when empty_children already has a count for the number of NULL pointers stored in the tnode. As such save ourselves the cycles and just use empty_children. Signed-off-by: Alexander Duyck Signed-off-by: David S. Miller --- Reading git-diff-tree failed