Commit 836df24a authored by kbuild test robot's avatar kbuild test robot Committed by David S. Miller

net: hns3: hns3_get_channels() can be static

Fixes: 482d2e9c ("net: hns3: add support to query tqps number")
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fcffe2ed
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment