summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2017-11-14 13:52:10 +0100
committerJason Gunthorpe <jgg@mellanox.com>2017-12-18 23:37:09 +0100
commit575c7e583e7ea5724f6ee500268c7980e31e45b7 (patch)
tree1bdd97cf3c91d3695b1e2a613480e626a2c87c51 /include/rdma
parentIB/core: Removed unused function (diff)
downloadlinux-575c7e583e7ea5724f6ee500268c7980e31e45b7.tar.xz
linux-575c7e583e7ea5724f6ee500268c7980e31e45b7.zip
RDMA/{core, cma}: Simplify rdma_translate_ip
Since no caller needs vlan, rdma_translate_ip is simplified to avoid vlan pointer. 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')
-rw-r--r--include/rdma/ib_addr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_addr.h b/include/rdma/ib_addr.h
index 3d17073ea338..dc0b642e0175 100644
--- a/include/rdma/ib_addr.h
+++ b/include/rdma/ib_addr.h
@@ -94,7 +94,7 @@ struct rdma_dev_addr {
* The dev_addr->net field must be initialized.
*/
int rdma_translate_ip(const struct sockaddr *addr,
- struct rdma_dev_addr *dev_addr, u16 *vlan_id);
+ struct rdma_dev_addr *dev_addr);
/**
* rdma_resolve_ip - Resolve source and destination IP addresses to