summaryrefslogtreecommitdiff
path: root/include/rdma/ib_addr.h
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2017-11-14 15:52:09 +0300
committerJason Gunthorpe <jgg@mellanox.com>2017-12-19 01:37:09 +0300
commit699a83f1eba0f2aa6850e1080a9f4466d8092b7b (patch)
tree0a870b56226a88d36d21a3b827e0c031714847b2 /include/rdma/ib_addr.h
parent86937fcd6ed28a2c253119998e0eebfb73dd289e (diff)
downloadlinux-699a83f1eba0f2aa6850e1080a9f4466d8092b7b.tar.xz
IB/core: Removed unused function
rdma_addr_find_smac_by_sgid() is exported symbol not used by any kernel module. Therefore its removed. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_addr.h')
-rw-r--r--include/rdma/ib_addr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/rdma/ib_addr.h b/include/rdma/ib_addr.h
index d5c3bbb84608..3d17073ea338 100644
--- a/include/rdma/ib_addr.h
+++ b/include/rdma/ib_addr.h
@@ -131,7 +131,6 @@ void rdma_copy_addr(struct rdma_dev_addr *dev_addr,
int rdma_addr_size(struct sockaddr *addr);
-int rdma_addr_find_smac_by_sgid(union ib_gid *sgid, u8 *smac, u16 *vlan_id);
int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid,
const union ib_gid *dgid,
u8 *dmac, const struct net_device *ndev,