From: Julia Lawall Date: Tue, 3 Aug 2010 11:33:43 +0000 (+0000) Subject: powerpc/powermac: Drop unnecessary null test X-Git-Tag: v2.6.36-rc3~37^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fba610ec94a1290fc299ea051e47d55da9059ba;p=pandora-kernel.git powerpc/powermac: Drop unnecessary null test for_each_node_by_name binds its first argument to a non-null value, and thus any null test on the value of that argument is superfluous. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ iterator I; expression x,E; @@ I(x,...) { <... ( - (x != NULL) && E ...> } // Signed-off-by: Julia Lawall Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed