v1 --> v2: 1. On the advice of Jason Gunthorpe, add patch 2 Rewrite the rbtree traversing in the normal pattern: if (a < b) .. else if (a > b) .. else // a == b .. Zhen Lei (2): RDMA/cm: Delete two redundant condition branches RDMA/cm: Optimise rbtree searching drivers/infiniband/core/cm.c | 54 +++++++++++++++++------------------- 1 file changed, 26 insertions(+), 28 deletions(-) -- 2.26.0.106.g9fadedd