aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-08-03 17:35:36 -0400
committerRoland Dreier <rolandd@cisco.com>2010-08-05 17:24:55 -0400
commit2db00321815e20f4a7ff9df43f7cf2073085683d (patch)
tree533cb0e6729e0eae893111c30902c00b806df3f7 /drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
parentbd5d0ccbef9f2565e76dba4ff291da6a2cb8b1b4 (diff)
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/infiniband/hw/cxgb4/t4fw_ri_api.h')
0 files changed, 0 insertions, 0 deletions