浏览代码

net: hns3: remove redundant semicolon

There is a redundant semicolon, this patch removes it.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Peng Li 7 年之前
父节点
当前提交
2e1ea493cc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c

+ 1 - 1
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c

@@ -1288,7 +1288,7 @@ static int hclgevf_pci_init(struct hclgevf_dev *hdev)
 	pci_set_master(pdev);
 	pci_set_master(pdev);
 	hw = &hdev->hw;
 	hw = &hdev->hw;
 	hw->hdev = hdev;
 	hw->hdev = hdev;
-	hw->io_base = pci_iomap(pdev, 2, 0);;
+	hw->io_base = pci_iomap(pdev, 2, 0);
 	if (!hw->io_base) {
 	if (!hw->io_base) {
 		dev_err(&pdev->dev, "can't map configuration register space\n");
 		dev_err(&pdev->dev, "can't map configuration register space\n");
 		ret = -ENOMEM;
 		ret = -ENOMEM;