RDMA/hns: Remove some unnecessary attr_mask judgement
authoroulijun <oulijun@huawei.com>
Thu, 26 Apr 2018 06:46:19 +0000 (14:46 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 27 Apr 2018 18:20:47 +0000 (14:20 -0400)
commit734f38638d7b91c173ddfe46ceadb0382fae9b1f
tree7e47d57818c8137f508535324a3b5099c2c4abfc
parent6852af86627c7bd8de11c9ad3eb5cca7d99e5884
RDMA/hns: Remove some unnecessary attr_mask judgement

This patch deletes some unnecessary attr_mask if condition
in hip08 according to the IB protocol.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c