Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -876,7 +876,7 @@ static int hns3_nway_reset(struct net_device *netdev)
	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 hnae3_handle *h = hns3_get_handle(netdev);