diff options
author | Parav Pandit <parav@mellanox.com> | 2017-11-14 13:52:08 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-18 23:37:09 +0100 |
commit | 86937fcd6ed28a2c253119998e0eebfb73dd289e (patch) | |
tree | 414004b90352e54e0ebd40762277463ffcf7ae1a /include/rdma | |
parent | IB/core: Avoid exporting module internal ib_find_gid_by_filter() (diff) | |
download | linux-86937fcd6ed28a2c253119998e0eebfb73dd289e.tar.xz linux-86937fcd6ed28a2c253119998e0eebfb73dd289e.zip |
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