summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-01-05 18:18:23 +0800
committerDavid S. Miller <davem@davemloft.net>2018-01-08 14:06:19 -0500
commit2e1ea493cc79dfb640a34398b9ea12c019e4a8cd (patch)
tree72ef78636aa8bfacff08c2a2dd3be07778aa10fe
parent18838d0cc02612c760547455ae3f5dc812400288 (diff)
downloadlinux-2e1ea493cc79dfb640a34398b9ea12c019e4a8cd.tar.bz2
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>
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
index f74b66a7a56f..655f522e44aa 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
+++ b/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);
hw = &hdev->hw;
hw->hdev = hdev;
- hw->io_base = pci_iomap(pdev, 2, 0);;
+ hw->io_base = pci_iomap(pdev, 2, 0);
if (!hw->io_base) {
dev_err(&pdev->dev, "can't map configuration register space\n");
ret = -ENOMEM;