Commit 2660d226 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

net: aquantia: Make local functions static

Fixes the following sparse warnings:

drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:224:5: warning:
 symbol 'aq_ethtool_get_coalesce' was not declared. Should it be static?
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:245:5: warning:
 symbol 'aq_ethtool_set_coalesce' was not declared. Should it be static?
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2ea2352e
...@@ -221,7 +221,7 @@ static int aq_ethtool_get_rxnfc(struct net_device *ndev, ...@@ -221,7 +221,7 @@ static int aq_ethtool_get_rxnfc(struct net_device *ndev,
return err; return err;
} }
int aq_ethtool_get_coalesce(struct net_device *ndev, static int aq_ethtool_get_coalesce(struct net_device *ndev,
struct ethtool_coalesce *coal) struct ethtool_coalesce *coal)
{ {
struct aq_nic_s *aq_nic = netdev_priv(ndev); struct aq_nic_s *aq_nic = netdev_priv(ndev);
...@@ -242,7 +242,7 @@ int aq_ethtool_get_coalesce(struct net_device *ndev, ...@@ -242,7 +242,7 @@ int aq_ethtool_get_coalesce(struct net_device *ndev,
return 0; return 0;
} }
int aq_ethtool_set_coalesce(struct net_device *ndev, static int aq_ethtool_set_coalesce(struct net_device *ndev,
struct ethtool_coalesce *coal) struct ethtool_coalesce *coal)
{ {
struct aq_nic_s *aq_nic = netdev_priv(ndev); struct aq_nic_s *aq_nic = netdev_priv(ndev);
......
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