net: hns3: hns3_get_channels() can be static

Fixes: 482d2e9c1c ("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>
This commit is contained in:
kbuild test robot 2017-12-28 09:09:59 +08:00 committed by David S. Miller
parent fcffe2edbd
commit 836df24a70

View File

@ -876,8 +876,8 @@ static int hns3_nway_reset(struct net_device *netdev)
return genphy_restart_aneg(phy); return genphy_restart_aneg(phy);
} }
void hns3_get_channels(struct net_device *netdev, static void hns3_get_channels(struct net_device *netdev,
struct ethtool_channels *ch) struct ethtool_channels *ch)
{ {
struct hnae3_handle *h = hns3_get_handle(netdev); struct hnae3_handle *h = hns3_get_handle(netdev);