summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-08-03 23:35:36 +0200
committerRoland Dreier <rolandd@cisco.com>2010-08-05 23:24:55 +0200
commit2db00321815e20f4a7ff9df43f7cf2073085683d (patch)
tree533cb0e6729e0eae893111c30902c00b806df3f7 /drivers/xen
parentIB/ehca: Init irq tasklet before irq can happen (diff)
downloadlinux-2db00321815e20f4a7ff9df43f7cf2073085683d.tar.xz
linux-2db00321815e20f4a7ff9df43f7cf2073085683d.zip
IB/ehca: 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/) // <smpl> @@ iterator I; expression x; statement S,S1,S2; @@ I(x,...) { <... - if (x == NULL && ...) S ...> } // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Acked-by: Alexander Schmidt <alexs@linux.vnet.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions