aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_device.h
diff options
context:
space:
mode:
authorLang Cheng <chenglang@huawei.com>2019-08-09 17:41:04 +0800
committerDoug Ledford <dledford@redhat.com>2019-08-13 12:32:37 -0400
commit77905379e9b28a490051b15239bcaf6458d171ee (patch)
tree927f7d5bc530e00acd0e9f4550782aafbaab57f4 /drivers/infiniband/hw/hns/hns_roce_device.h
parentRDMA/hns: bugfix for slab-out-of-bounds when loading hip08 driver (diff)
downloadlinux-dev-77905379e9b28a490051b15239bcaf6458d171ee.tar.xz
linux-dev-77905379e9b28a490051b15239bcaf6458d171ee.zip
RDMA/hns: Remove unuseful member
For struct hns_roce_cmdq, toggle is unused and delete it. Signed-off-by: Lang Cheng <chenglang@huawei.com> Link: https://lore.kernel.org/r/1565343666-73193-8-git-send-email-oulijun@huawei.com Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_device.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h
index 4fffa3da3a87..c7bf738fb137 100644
--- a/drivers/infiniband/hw/hns/hns_roce_device.h
+++ b/drivers/infiniband/hw/hns/hns_roce_device.h
@@ -617,7 +617,6 @@ struct hns_roce_cmdq {
* close device, switch into poll mode(non event mode)
*/
u8 use_events;
- u8 toggle;
};
struct hns_roce_cmd_mailbox {