diff options
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r-- | drivers/net/loopback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 4dd0510d7a99..9a0996795321 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -98,10 +98,10 @@ static netdev_tx_t loopback_xmit(struct sk_buff *skb, | |||
98 | return NETDEV_TX_OK; | 98 | return NETDEV_TX_OK; |
99 | } | 99 | } |
100 | 100 | ||
101 | static struct rtnl_link_stats64 *loopback_get_stats64(struct net_device *dev) | 101 | static struct rtnl_link_stats64 *loopback_get_stats64(struct net_device *dev, |
102 | struct rtnl_link_stats64 *stats) | ||
102 | { | 103 | { |
103 | const struct pcpu_lstats __percpu *pcpu_lstats; | 104 | const struct pcpu_lstats __percpu *pcpu_lstats; |
104 | struct rtnl_link_stats64 *stats = &dev->stats64; | ||
105 | u64 bytes = 0; | 105 | u64 bytes = 0; |
106 | u64 packets = 0; | 106 | u64 packets = 0; |
107 | u64 drops = 0; | 107 | u64 drops = 0; |