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 997cbce9af6e..4a9f40cdba5a 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -181,7 +181,7 @@ static struct net_device_stats *get_stats(struct net_device *dev) | |||
181 | stats->rx_packets += lb_stats->rx_packets; | 181 | stats->rx_packets += lb_stats->rx_packets; |
182 | stats->tx_packets += lb_stats->tx_packets; | 182 | stats->tx_packets += lb_stats->tx_packets; |
183 | } | 183 | } |
184 | 184 | ||
185 | return stats; | 185 | return stats; |
186 | } | 186 | } |
187 | 187 | ||
@@ -230,7 +230,7 @@ int __init loopback_init(void) | |||
230 | loopback_dev.priv = stats; | 230 | loopback_dev.priv = stats; |
231 | loopback_dev.get_stats = &get_stats; | 231 | loopback_dev.get_stats = &get_stats; |
232 | } | 232 | } |
233 | 233 | ||
234 | return register_netdev(&loopback_dev); | 234 | return register_netdev(&loopback_dev); |
235 | }; | 235 | }; |
236 | 236 | ||