mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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:
parent
fcffe2edbd
commit
836df24a70
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user