diff options
author | Ira Weiny <ira.weiny@intel.com> | 2015-05-14 02:02:59 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-05-20 18:38:43 +0200 |
commit | f9b22e355d38c8dbfa19a2d9d5ef9bf07e7c17e6 (patch) | |
tree | 1ffc3cbd5960c17e800d4db83e7d80ae1a629f71 /drivers/infiniband/core | |
parent | IB/core: Add per port immutable struct to ib_device (diff) | |
download | linux-f9b22e355d38c8dbfa19a2d9d5ef9bf07e7c17e6.tar.xz linux-f9b22e355d38c8dbfa19a2d9d5ef9bf07e7c17e6.zip |
IB/core: Convert core to use bitfield for caps
Remove query_protocol callback
Use the new Core Capability bits for:
rdma_protocol_*
rdma_cap_ib_mad
rdma_cap_ib_smi
rdma_cap_ib_cm
rdma_cap_iw_cm
rdma_cap_ib_sa
rdma_cap_ib_mcast
rdma_cap_af_ib
rdma_cap_eth_ah
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core')
-rw-r--r-- | drivers/infiniband/core/device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c index 4aa4f5420bc9..8d07c12ab718 100644 --- a/drivers/infiniband/core/device.c +++ b/drivers/infiniband/core/device.c @@ -76,7 +76,6 @@ static int ib_device_check_mandatory(struct ib_device *device) } mandatory_table[] = { IB_MANDATORY_FUNC(query_device), IB_MANDATORY_FUNC(query_port), - IB_MANDATORY_FUNC(query_protocol), IB_MANDATORY_FUNC(query_pkey), IB_MANDATORY_FUNC(query_gid), IB_MANDATORY_FUNC(alloc_pd), |