diff options
author | Mark Zhang <markzhang@nvidia.com> | 2022-08-19 12:08:58 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@nvidia.com> | 2022-08-30 12:14:23 +0300 |
commit | a461b746c5768b9b3001045cff2d508346f5f789 (patch) | |
tree | 5e306d3696da6f63e69f37dbad71e0f2abde9321 /include/rdma | |
parent | 91a3f14ec953f3224215dc867001b9a201785740 (diff) | |
download | linux-stable-a461b746c5768b9b3001045cff2d508346f5f789.tar.gz linux-stable-a461b746c5768b9b3001045cff2d508346f5f789.tar.bz2 linux-stable-a461b746c5768b9b3001045cff2d508346f5f789.zip |
IB/cm: remove cm_id_priv->id.service_mask and service_mask parameter of cm_init_listen()
The service_mask is always ~cpu_to_be64(0), so the result is always
a NOP when it is &'d with a service_id. Remove it for simplicity.
Link: https://lore.kernel.org/r/20220819090859.957943-3-markzhang@nvidia.com
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_cm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/rdma/ib_cm.h b/include/rdma/ib_cm.h index fbf260c1b1df..8dae5847020a 100644 --- a/include/rdma/ib_cm.h +++ b/include/rdma/ib_cm.h @@ -294,7 +294,6 @@ struct ib_cm_id { void *context; struct ib_device *device; __be64 service_id; - __be64 service_mask; enum ib_cm_state state; /* internal CM/debug use */ enum ib_cm_lap_state lap_state; /* internal CM/debug use */ __be32 local_id; |