linux/drivers/infiniband/hw/usnic
Julia Lawall 59f65f495d IB/usnic: delete unneeded IS_ERR test
kzalloc doesn't return ERR_PTR, so there is no need to test for it.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,e;
@@

* x = kzalloc(...)
... when != x = e
* IS_ERR_OR_NULL(x)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Dave Goodell <dgoodell@cisco.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-12-23 10:50:58 -05:00
..
Kconfig IB/usnic: Add dependency on CONFIG_INET 2014-01-18 13:48:54 -08:00
Makefile
usnic_abi.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_common_pkt_hdr.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_common_util.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_debugfs.c IB/usnic: Improve a failure message 2015-12-23 10:50:57 -05:00
usnic_debugfs.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_fwd.c usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_fwd.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_ib_main.c usnic: correctly check failed allocation 2015-10-21 16:41:19 -04:00
usnic_ib_qp_grp.c IB/usnic: Fix resource leak in error case 2015-12-23 10:50:58 -05:00
usnic_ib_qp_grp.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_ib_sysfs.c usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_ib_sysfs.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_ib_verbs.c IB/usnic: delete unneeded IS_ERR test 2015-12-23 10:50:58 -05:00
usnic_ib_verbs.h IB/usnic: Remove unused prototype 2015-12-23 10:50:57 -05:00
usnic_ib.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_log.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_transport.c usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_transport.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_uiom_interval_tree.c usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_uiom_interval_tree.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_uiom.c usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_uiom.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_vnic.c IB/usnic: Handle 0 counts in resource allocation 2015-12-23 10:50:58 -05:00
usnic_vnic.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00