From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Hi, This is first part of CM cleanup series needed to effectively add IBTA Enhanced Connection Establishment (ECE) spec changes. In this series, we don't do anything major, just small code cleanup with small change in srpt. This change will allow us to provide general getter and setter for all CM structures. Thanks Leon Romanovsky (6): RDMA/cm: Delete unused cm_is_active_peer function RDMA/cm: Use specific keyword to check define RDMA/cm: Update copyright together with SPDX tag RDMA/cm: Delete useless QPN masking RDMA/cm: Provide private data size to CM users RDMA/srpt: Use private_data_len instead of hardcoded value drivers/infiniband/core/cm.c | 51 ++++++++------------------- drivers/infiniband/core/cm_msgs.h | 32 ++--------------- drivers/infiniband/core/cma.c | 31 ++-------------- drivers/infiniband/ulp/srpt/ib_srpt.c | 2 +- include/rdma/ib_cm.h | 33 +++-------------- 5 files changed, 24 insertions(+), 125 deletions(-) -- 2.20.1