From: Julia Lawall Date: Wed, 29 Sep 2010 08:31:29 +0000 (+0900) Subject: spi/orion: Drop unnecessary null test X-Git-Tag: v2.6.37-rc1~187^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e447d3588e1c5944f607083cb509663f8015d420;p=pandora-kernel.git spi/orion: Drop unnecessary null test list_for_each_entry 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: Grant Likely --- Reading git-diff-tree failed