Commit a10829c4 authored by Jian Shen's avatar Jian Shen Committed by David S. Miller

net: hns3: Remove extra space and brackets

Remove extra space and brackets.
Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3f639907
...@@ -37,7 +37,7 @@ struct hclge_cmq_ring { ...@@ -37,7 +37,7 @@ struct hclge_cmq_ring {
dma_addr_t desc_dma_addr; dma_addr_t desc_dma_addr;
struct hclge_desc *desc; struct hclge_desc *desc;
struct hclge_desc_cb *desc_cb; struct hclge_desc_cb *desc_cb;
struct hclge_dev *dev; struct hclge_dev *dev;
u32 head; u32 head;
u32 tail; u32 tail;
......
...@@ -4288,7 +4288,7 @@ static int hclge_add_mc_addr(struct hnae3_handle *handle, ...@@ -4288,7 +4288,7 @@ static int hclge_add_mc_addr(struct hnae3_handle *handle,
{ {
struct hclge_vport *vport = hclge_get_vport(handle); struct hclge_vport *vport = hclge_get_vport(handle);
return hclge_add_mc_addr_common(vport, addr); return hclge_add_mc_addr_common(vport, addr);
} }
int hclge_add_mc_addr_common(struct hclge_vport *vport, int hclge_add_mc_addr_common(struct hclge_vport *vport,
......
...@@ -77,11 +77,11 @@ ...@@ -77,11 +77,11 @@
/* Copper Specific Status Register */ /* Copper Specific Status Register */
#define HCLGE_PHY_CSS_REG 17 #define HCLGE_PHY_CSS_REG 17
#define HCLGE_PHY_MDIX_CTRL_S (5) #define HCLGE_PHY_MDIX_CTRL_S 5
#define HCLGE_PHY_MDIX_CTRL_M GENMASK(6, 5) #define HCLGE_PHY_MDIX_CTRL_M GENMASK(6, 5)
#define HCLGE_PHY_MDIX_STATUS_B (6) #define HCLGE_PHY_MDIX_STATUS_B 6
#define HCLGE_PHY_SPEED_DUP_RESOLVE_B (11) #define HCLGE_PHY_SPEED_DUP_RESOLVE_B 11
/* Factor used to calculate offset and bitmap of VF num */ /* Factor used to calculate offset and bitmap of VF num */
#define HCLGE_VF_NUM_PER_CMD 64 #define HCLGE_VF_NUM_PER_CMD 64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment