summaryrefslogtreecommitdiffstats
path: root/drivers/net/vrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/vrf.c')
-rw-r--r--drivers/net/vrf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c
index 23dfb0eac098..895e3e258543 100644
--- a/drivers/net/vrf.c
+++ b/drivers/net/vrf.c
@@ -77,8 +77,8 @@ static void vrf_tx_error(struct net_device *vrf_dev, struct sk_buff *skb)
77 kfree_skb(skb); 77 kfree_skb(skb);
78} 78}
79 79
80static struct rtnl_link_stats64 *vrf_get_stats64(struct net_device *dev, 80static void vrf_get_stats64(struct net_device *dev,
81 struct rtnl_link_stats64 *stats) 81 struct rtnl_link_stats64 *stats)
82{ 82{
83 int i; 83 int i;
84 84
@@ -102,7 +102,6 @@ static struct rtnl_link_stats64 *vrf_get_stats64(struct net_device *dev,
102 stats->rx_bytes += rbytes; 102 stats->rx_bytes += rbytes;
103 stats->rx_packets += rpkts; 103 stats->rx_packets += rpkts;
104 } 104 }
105 return stats;
106} 105}
107 106
108/* Local traffic destined to local address. Reinsert the packet to rx 107/* Local traffic destined to local address. Reinsert the packet to rx