From: kbuild test robot Date: Thu, 28 Dec 2017 01:09:59 +0000 (+0800) Subject: net: hns3: hns3_get_channels() can be static X-Git-Tag: for-linus-20180210~31^2~278 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=836df24a7062719002f4246019b44cc2c5184830;p=linux-2.6-block.git net: hns3: hns3_get_channels() can be static Fixes: 482d2e9c1cc7 ("net: hns3: add support to query tqps number") Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c index 2ae4d39798c1..379c01dddbf8 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c @@ -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);