]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 ffd92332893d4b619568cac0e3c1d5c747a35d0e..22af3d6ce1783262070e1a51cea59acde51f406b 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 e11afb6f38434a406f6ef82f40b71224b3dae693..e55ba2e511b1a3eafb73437d53ae613d919f7be0 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;