diff options
author | Parav Pandit <parav@mellanox.com> | 2017-11-14 15:52:08 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-19 01:37:09 +0300 |
commit | 86937fcd6ed28a2c253119998e0eebfb73dd289e (patch) | |
tree | 414004b90352e54e0ebd40762277463ffcf7ae1a /include/rdma | |
parent | 1c43d5d308f0858e763f46bc2bd01cd32b67c63e (diff) | |
download | linux-86937fcd6ed28a2c253119998e0eebfb73dd289e.tar.xz |
RDMA/core: Avoid redundant memcpy in rdma_addr_find_l2_eth_by_grh
rdma_resolve_ip already copies 'addr' to its dev_addr argument.
Remove the duplicate memcpy and since it was the only user, remove the
'addr' member from resolve_cb_context.
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')
0 files changed, 0 insertions, 0 deletions