net: hns3: remove unnecessary spaces
authorHao Chen <chenhao288@hisilicon.com>
Mon, 30 Aug 2021 13:51:09 +0000 (21:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2021 11:36:42 +0000 (12:36 +0100)
This patch removes some unnecessary spaces for cleanup.

Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c

index ffd9233..22af3d6 100644 (file)
@@ -100,7 +100,7 @@ static const struct pci_device_id hns3_pci_tbl[] = {
        {PCI_VDEVICE(HUAWEI, HNAE3_DEV_ID_RDMA_DCB_PFC_VF),
         HNAE3_DEV_SUPPORT_ROCE_DCB_BITS},
        /* required last entry */
-       {0, }
+       {0,}
 };
 MODULE_DEVICE_TABLE(pci, hns3_pci_tbl);
 
index e11afb6..e55ba2e 100644 (file)
@@ -5944,7 +5944,7 @@ static int hclge_config_key(struct hclge_dev *hdev, u8 stage,
        cur_key_x = key_x;
        cur_key_y = key_y;
 
-       for (i = 0 ; i < MAX_TUPLE; i++) {
+       for (i = 0; i < MAX_TUPLE; i++) {
                bool tuple_valid;
 
                tuple_size = tuple_key_info[i].key_length / 8;