RDMA/hns: remove a redundant le16_to_cpu
authorWeihang Li <liweihang@hisilicon.com>
Wed, 4 Sep 2019 03:14:41 +0000 (11:14 +0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 21 Oct 2019 19:29:37 +0000 (15:29 -0400)
commit9f7d7064009c37cb26eee4a83302cf077fe180d6
treef55675248baa70f82decc5bfc17f0ddb4a08d8ab
parent45b268543a8d720e929c71dff7302eed5f7dfed4
RDMA/hns: remove a redundant le16_to_cpu

Type of ah->av.vlan is u16, there will be a problem using le16_to_cpu
on it.

Fixes: 82e620d9c3a0 ("RDMA/hns: Modify the data structure of hns_roce_av")
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Link: https://lore.kernel.org/r/1567566885-23088-2-git-send-email-liweihang@hisilicon.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c