Skip to content

Commit

Permalink
net: hns3: remove unnecessary spaces
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hao Chen authored and David S. Miller committed Aug 31, 2021
1 parent c74e503 commit 7f2d4b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7f2d4b7

Please sign in to comment.