net: thunderx: add static
This fixes sparse messages like this: drivers/net/ethernet/cavium/thunder/nicvf_main.c:1141:26: sparse: symbol 'nicvf_get_stats64' was not declared. Should it be static? Also remove unused declarations Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0c886a1dd7
commit
fd7ec06254
@@ -413,10 +413,8 @@ int nicvf_set_real_num_queues(struct net_device *netdev,
|
||||
int nicvf_open(struct net_device *netdev);
|
||||
int nicvf_stop(struct net_device *netdev);
|
||||
int nicvf_send_msg_to_pf(struct nicvf *vf, union nic_mbx *mbx);
|
||||
void nicvf_config_cpi(struct nicvf *nic);
|
||||
void nicvf_config_rss(struct nicvf *nic);
|
||||
void nicvf_set_rss_key(struct nicvf *nic);
|
||||
void nicvf_free_skb(struct nicvf *nic, struct sk_buff *skb);
|
||||
void nicvf_set_ethtool_ops(struct net_device *netdev);
|
||||
void nicvf_update_stats(struct nicvf *nic);
|
||||
void nicvf_update_lmac_stats(struct nicvf *nic);
|
||||
|
Reference in New Issue
Block a user