mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
RDMA/qedr: Remove a duplicate assignment in irdma_query_ah()
[ Upstream commit65e02e8408
] Delete a duplicate statement from this function implementation. Fixes:b48c24c2d7
("RDMA/irdma: Implement device supported verb APIs") Signed-off-by: Minjie Du <duminjie@vivo.com> Acked-by: Alok Prasad <palok@marvell.com> Link: https://lore.kernel.org/r/20230706022704.1260-1-duminjie@vivo.com Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8199a46af2
commit
5643c936d1
1 changed files with 0 additions and 1 deletions
|
@ -4354,7 +4354,6 @@ static int irdma_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr)
|
|||
ah_attr->grh.traffic_class = ah->sc_ah.ah_info.tc_tos;
|
||||
ah_attr->grh.hop_limit = ah->sc_ah.ah_info.hop_ttl;
|
||||
ah_attr->grh.sgid_index = ah->sgid_index;
|
||||
ah_attr->grh.sgid_index = ah->sgid_index;
|
||||
memcpy(&ah_attr->grh.dgid, &ah->dgid,
|
||||
sizeof(ah_attr->grh.dgid));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue