]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Replace condition statement using hardware version information
authorWei Hu(Xavier) <xavier.huwei@huawei.com>
Wed, 30 Aug 2017 09:23:17 +0000 (17:23 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 27 Sep 2017 12:34:56 +0000 (08:34 -0400)
commit14c16f072ad7998d7e1fd4d52c6c8ce552e949ab
treea8e57afa2e46d5e748d4d1fdb9272ac78911c5d0
parent89e2c592b34c51b16031ae8ce1c7c96665bba32b
RDMA/hns: Replace condition statement using hardware version information

This patch replaces condition statement to reduce usage of hardware version
information in common driver.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_main.c