diff options
author | Lijun Ou <oulijun@huawei.com> | 2018-07-30 20:20:29 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-30 20:42:44 -0600 |
commit | 426c414619ab742f6cb97c648d06975aa82cd62e (patch) | |
tree | 004596f2275d9214b2db46a7ff04c1f6c1fd403a /drivers/infiniband/hw/hns/hns_roce_ah.c | |
parent | ac7cbf96c20991dbeea0af04ca9ff25252af9e5f (diff) | |
download | linux-next-426c414619ab742f6cb97c648d06975aa82cd62e.tar.gz |
RDMA/hns: Use macro instead of magic number
This patch mainly uses CMD_CSQ_DESC_NUM instead of magic number in order
to improve readability.
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_ah.c')
0 files changed, 0 insertions, 0 deletions