diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2017-12-28 09:09:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 20:41:59 -0500 |
commit | 836df24a7062719002f4246019b44cc2c5184830 (patch) | |
tree | 64b20fb4c854fad1e47fdd4e0303943b041b95be /drivers/net/ethernet/hisilicon | |
parent | fcffe2edbd390cad499b27d20512ef000d7ecf54 (diff) | |
download | linux-836df24a7062719002f4246019b44cc2c5184830.tar.bz2 |
net: hns3: hns3_get_channels() can be static
Fixes: 482d2e9c1cc7 ("net: hns3: add support to query tqps number")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c index 2ae4d39798c1..379c01dddbf8 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c @@ -876,8 +876,8 @@ static int hns3_nway_reset(struct net_device *netdev) return genphy_restart_aneg(phy); } -void hns3_get_channels(struct net_device *netdev, - struct ethtool_channels *ch) +static void hns3_get_channels(struct net_device *netdev, + struct ethtool_channels *ch) { struct hnae3_handle *h = hns3_get_handle(netdev); |