*   and service ID resolution requests.  The service ID should be specified
  *   network-byte order.  If set to IB_CM_ASSIGN_SERVICE_ID, the CM will
  *   assign a service ID to the caller.
- * @service_mask: Mask applied to service ID used to listen across a
- *   range of service IDs.  If set to 0, the service ID is matched
- *   exactly.  This parameter is ignored if %service_id is set to
- *   IB_CM_ASSIGN_SERVICE_ID.
  */
-int ib_cm_listen(struct ib_cm_id *cm_id, __be64 service_id, __be64 service_mask)
+int ib_cm_listen(struct ib_cm_id *cm_id, __be64 service_id)
 {
        struct cm_id_private *cm_id_priv =
                container_of(cm_id, struct cm_id_private, id);
                goto out;
        }
 
-       ret = cm_init_listen(cm_id_priv, service_id, service_mask);
+       ret = cm_init_listen(cm_id_priv, service_id, 0);
        if (ret)
                goto out;
 
 
                goto err_cm;
        }
 
-       ret = ib_cm_listen(priv->cm.id, cpu_to_be64(IPOIB_CM_IETF_ID | priv->qp->qp_num),
-                          0);
+       ret = ib_cm_listen(priv->cm.id,
+                          cpu_to_be64(IPOIB_CM_IETF_ID | priv->qp->qp_num));
        if (ret) {
                pr_warn("%s: failed to listen on ID 0x%llx\n", priv->ca->name,
                        IPOIB_CM_IETF_ID | priv->qp->qp_num);
 
         * if this HCA is gone bad and replaced by different HCA
         */
        ret = sdev->cm_id ?
-               ib_cm_listen(sdev->cm_id, cpu_to_be64(srpt_service_guid), 0) :
+               ib_cm_listen(sdev->cm_id, cpu_to_be64(srpt_service_guid)) :
                0;
        if (ret < 0) {
                pr_err("ib_cm_listen() failed: %d (cm_id state = %d)\n", ret,
 
  *   and service ID resolution requests.  The service ID should be specified
  *   network-byte order.  If set to IB_CM_ASSIGN_SERVICE_ID, the CM will
  *   assign a service ID to the caller.
- * @service_mask: Mask applied to service ID used to listen across a
- *   range of service IDs.  If set to 0, the service ID is matched
- *   exactly.  This parameter is ignored if %service_id is set to
- *   IB_CM_ASSIGN_SERVICE_ID.
  */
-int ib_cm_listen(struct ib_cm_id *cm_id, __be64 service_id,
-                __be64 service_mask);
+int ib_cm_listen(struct ib_cm_id *cm_id, __be64 service_id);
 
 struct ib_cm_id *ib_cm_insert_listen(struct ib_device *device,
                                     ib_cm_handler cm_handler,