RDMA/cma: Use PTR_RET rather than if (IS_ERR(...)) + PTR_ERR
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 27 Jul 2012 20:05:18 +0000 (13:05 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 27 Jul 2012 20:05:18 +0000 (13:05 -0700)
Suggested by scripts/coccinelle/api/ptr_ret.cocci.

Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found