Skip to content

Commit 7f2d4b7

Browse files
Hao Chendavem330
authored andcommitted
net: hns3: remove unnecessary spaces
This patch removes some unnecessary spaces for cleanup. Signed-off-by: Hao Chen <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c74e503 commit 7f2d4b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ static const struct pci_device_id hns3_pci_tbl[] = {
100100
{PCI_VDEVICE(HUAWEI, HNAE3_DEV_ID_RDMA_DCB_PFC_VF),
101101
HNAE3_DEV_SUPPORT_ROCE_DCB_BITS},
102102
/* required last entry */
103-
{0, }
103+
{0,}
104104
};
105105
MODULE_DEVICE_TABLE(pci, hns3_pci_tbl);
106106

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5944,7 +5944,7 @@ static int hclge_config_key(struct hclge_dev *hdev, u8 stage,
59445944
cur_key_x = key_x;
59455945
cur_key_y = key_y;
59465946

5947-
for (i = 0 ; i < MAX_TUPLE; i++) {
5947+
for (i = 0; i < MAX_TUPLE; i++) {
59485948
bool tuple_valid;
59495949

59505950
tuple_size = tuple_key_info[i].key_length / 8;

0 commit comments

Comments
 (0)