IB/cm: remove cm_id_priv->id.service_mask and service_mask parameter of cm_init_listen()
authorMark Zhang <markzhang@nvidia.com>
Fri, 19 Aug 2022 09:08:58 +0000 (12:08 +0300)
committerLeon Romanovsky <leonro@nvidia.com>
Tue, 30 Aug 2022 09:14:23 +0000 (12:14 +0300)
commita461b746c5768b9b3001045cff2d508346f5f789
tree5e306d3696da6f63e69f37dbad71e0f2abde9321
parent91a3f14ec953f3224215dc867001b9a201785740
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>
drivers/infiniband/core/cm.c
include/rdma/ib_cm.h