From: Julia Lawall Date: Tue, 3 Aug 2010 21:34:16 +0000 (+0200) Subject: fs/dlm: Drop unnecessary null test X-Git-Tag: v2.6.36-rc1~503^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70cb33b9c270f4f1a7f28327e7d35dbf1a6fc40;p=pandora-kernel.git fs/dlm: Drop unnecessary null test hlist_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,E1,E2; statement S,S1,S2; @@ I(x,...) { <... - (x != NULL) && E ...> } // Signed-off-by: Julia Lawall Signed-off-by: David Teigland --- Reading git-diff-tree failed