]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb92d911d4e3bfe444b0709410b9d06f976d4cb56
treef55675248baa70f82decc5bfc17f0ddb4a08d8ab
parent75b34e9c980872bceb918de5ea0c324ffa8c5f1d
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: 6eb33ab475df ("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