linux/drivers/infiniband/hw
Julia Lawall 2db0032181 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>
2010-08-05 14:24:55 -07:00
..
amso1100 IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
cxgb3 IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
cxgb4 RDMA/cxgb4: Derive smac_idx from port viid 2010-07-06 14:05:16 -07:00
ehca IB/ehca: Drop unnecessary NULL test 2010-08-05 14:24:55 -07:00
ipath IB/ipath: Remove support for QLogic PCIe QLE devices 2010-05-23 22:14:25 -07:00
mlx4 IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
mthca IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
nes Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2010-05-25 12:05:17 -07:00
qib IB/qib: Use request_firmware() to load SD7220 firmware 2010-07-08 13:27:05 -07:00