Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

RDMA/hns: Remove unused CMDQ member

The hcr_mutex was used to serialize mailbox post. Now that mailbox
supports concurrency, this variable is no longer useful.

Fixes: a389d016c030 ("RDMA/hns: Enable all CMDQ context")
Link: https://lore.kernel.org/r/1621482876-35780-4-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

authored by

Lang Cheng and committed by
Jason Gunthorpe
331859d3 21090b5d

-1
-1
drivers/infiniband/hw/hns/hns_roce_device.h
··· 555 555 556 556 struct hns_roce_cmdq { 557 557 struct dma_pool *pool; 558 - struct mutex hcr_mutex; 559 558 struct semaphore poll_sem; 560 559 /* 561 560 * Event mode: cmd register mutex protection,