提交 35b3cefd 编写于 作者: Z Zhao Weibo 提交者: Yang Yingliang

RDMA/hns:remove useless header in cmd

driver inclusion
category: cleanup
bugzilla: NA
CVE: NA

-----------------------------------------

There is a useless header in hns_roce_cmd.c.Remove it.
There is missing space in hns_roce_hw_v2.h and rdfx_common.h.
Reviewed-by: NHu Chunzhi <huchunzhi@huawei.com>
Signed-off-by: NZhao Weibo <zhaoweibo3@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 3ac09784
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <linux/dmapool.h> #include <linux/dmapool.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include "hns_roce_common.h"
#include "hns_roce_device.h" #include "hns_roce_device.h"
#include "hns_roce_cmd.h" #include "hns_roce_cmd.h"
......
...@@ -497,7 +497,7 @@ struct hns_roce_srq_context { ...@@ -497,7 +497,7 @@ struct hns_roce_srq_context {
#define SRQC_BYTE_60_SRQ_DB_RECORD_ADDR_S 1 #define SRQC_BYTE_60_SRQ_DB_RECORD_ADDR_S 1
#define SRQC_BYTE_60_SRQ_DB_RECORD_ADDR_M GENMASK(31, 1) #define SRQC_BYTE_60_SRQ_DB_RECORD_ADDR_M GENMASK(31, 1)
enum{ enum {
V2_MPT_ST_VALID = 0x1, V2_MPT_ST_VALID = 0x1,
V2_MPT_ST_FREE = 0x2, V2_MPT_ST_FREE = 0x2,
}; };
......
...@@ -36,7 +36,7 @@ static struct rdfx_hw_sys_attr g_sysfs_roce_##file_name##_attr = {\ ...@@ -36,7 +36,7 @@ static struct rdfx_hw_sys_attr g_sysfs_roce_##file_name##_attr = {\
#define HW_ATTRS_LIST_MEMBER(file_name)(&g_sysfs_roce_##file_name##_attr.attr) #define HW_ATTRS_LIST_MEMBER(file_name)(&g_sysfs_roce_##file_name##_attr.attr)
enum{ enum {
RECV_RDMA_WITH_IMM, RECV_RDMA_WITH_IMM,
RECV_SEND, RECV_SEND,
RECV_SEND_WITH_IMM, RECV_SEND_WITH_IMM,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册