summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/usnic
diff options
context:
space:
mode:
authorNelson Escobar <neescoba@cisco.com>2015-12-09 10:39:49 -0800
committerDoug Ledford <dledford@redhat.com>2015-12-23 10:50:57 -0500
commit638e9707470f1bd3676dd5f06b52996a8dcb09f5 (patch)
treeb9e85172b2765559bdbbaf66b872e825d46d058c /drivers/infiniband/hw/usnic
parentbee3c3c91865d520cb692689500df051e4ca3dd6 (diff)
downloadblackbird-op-linux-638e9707470f1bd3676dd5f06b52996a8dcb09f5.tar.gz
blackbird-op-linux-638e9707470f1bd3676dd5f06b52996a8dcb09f5.zip
IB/usnic: Remove unused prototype
query_protocol() was added in commit 6b90a6d66b17 ("IB/Verbs: Implement new callback query_protocol()") and then removed in commit f9b22e355d38 ("IB/core: Convert core to use bitfield for caps"). This left behind an unused prototype. Signed-off-by: Nelson Escobar <neescoba@cisco.com> Reviewed-by: Dave Goodell <dgoodell@cisco.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/usnic')
-rw-r--r--drivers/infiniband/hw/usnic/usnic_ib_verbs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.h b/drivers/infiniband/hw/usnic/usnic_ib_verbs.h
index 414eaa566bd9..0d9d2e6a14d5 100644
--- a/drivers/infiniband/hw/usnic/usnic_ib_verbs.h
+++ b/drivers/infiniband/hw/usnic/usnic_ib_verbs.h
@@ -43,8 +43,6 @@ int usnic_ib_query_device(struct ib_device *ibdev,
struct ib_udata *uhw);
int usnic_ib_query_port(struct ib_device *ibdev, u8 port,
struct ib_port_attr *props);
-enum rdma_protocol_type
-usnic_ib_query_protocol(struct ib_device *device, u8 port_num);
int usnic_ib_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
int qp_attr_mask,
struct ib_qp_init_attr *qp_init_attr);
OpenPOWER on IntegriCloud