net: hinic: remove unnecessary blank line
authorGuangbin Huang <huangguangbin2@huawei.com>
Thu, 13 May 2021 06:26:50 +0000 (14:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2021 22:39:10 +0000 (15:39 -0700)
There are two blank lines are unnecessary, this patch removes them.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
drivers/net/ethernet/huawei/hinic/hinic_main.c

index dc024ef..162d3c3 100644 (file)
@@ -1663,7 +1663,6 @@ static void hinic_diag_test(struct net_device *netdev,
        err = hinic_port_link_state(nic_dev, &link_state);
        if (!err && link_state == HINIC_LINK_STATE_UP)
                netif_carrier_on(netdev);
-
 }
 
 static int hinic_set_phys_id(struct net_device *netdev,
index 9a9b094..1da5997 100644 (file)
@@ -172,7 +172,6 @@ static int create_txqs(struct hinic_dev *nic_dev)
                                  "Failed to add SQ%d debug\n", i);
                        goto err_add_sq_dbg;
                }
-
        }
 
        return 0;