]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Use delay instead of usleep
authorLijun Ou <oulijun@huawei.com>
Wed, 25 Jul 2018 07:29:38 +0000 (15:29 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Jul 2018 22:51:47 +0000 (16:51 -0600)
commit1b7ef16d13ef0bae810937ee263ba6c6f02059e1
treeb178d0b56876c93309e79e8942c7f6ec7e49a9a2
parentac7a9bc82e0e4e9c10655d6a09998aeaa8036ba9
RDMA/hns: Use delay instead of usleep

In order to avoid using usleep function in lock function, we use delay
function instead of it.  Besides, it also use brackets for standardized
the computed order.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hem.c