Skip to content

Commit

Permalink
net: hns3: hns3_get_channels() can be static
Browse files Browse the repository at this point in the history
Fixes: 482d2e9 ("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>
  • Loading branch information
kbuild test robot authored and David S. Miller committed Dec 28, 2017
1 parent fcffe2e commit 836df24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 836df24

Please sign in to comment.