Skip to content
Commit 4e289045 authored by Fengguang Wu's avatar Fengguang Wu Committed by Roland Dreier
Browse files

RDMA/cma: Use PTR_RET rather than if (IS_ERR(...)) + PTR_ERR



Suggested by scripts/coccinelle/api/ptr_ret.cocci.

Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 5dedb9f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment