The definition of rdma_resolve_ip_route() has been removed since commit 6aaecd385685 ("RDMA/core: Simplify roce_resolve_route_from_path()"). Let's remove this unused declaration. Signed-off-by: Zhang Zekun <zhangzekun11@xxxxxxxxxx> --- drivers/infiniband/core/core_priv.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/infiniband/core/core_priv.h b/drivers/infiniband/core/core_priv.h index dd7715ba9fd1..05102769a918 100644 --- a/drivers/infiniband/core/core_priv.h +++ b/drivers/infiniband/core/core_priv.h @@ -325,9 +325,6 @@ void ib_qp_usecnt_inc(struct ib_qp *qp); void ib_qp_usecnt_dec(struct ib_qp *qp); struct rdma_dev_addr; -int rdma_resolve_ip_route(struct sockaddr *src_addr, - const struct sockaddr *dst_addr, - struct rdma_dev_addr *addr); int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid, const union ib_gid *dgid, -- 2.17.1