diff options
Diffstat (limited to 'drivers/net/nlmon.c')
-rw-r--r-- | drivers/net/nlmon.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/nlmon.c b/drivers/net/nlmon.c index 2de7faee9b19..b91603835d26 100644 --- a/drivers/net/nlmon.c +++ b/drivers/net/nlmon.c | |||
@@ -58,7 +58,7 @@ static int nlmon_close(struct net_device *dev) | |||
58 | return netlink_remove_tap(&nlmon->nt); | 58 | return netlink_remove_tap(&nlmon->nt); |
59 | } | 59 | } |
60 | 60 | ||
61 | static struct rtnl_link_stats64 * | 61 | static void |
62 | nlmon_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) | 62 | nlmon_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) |
63 | { | 63 | { |
64 | int i; | 64 | int i; |
@@ -86,8 +86,6 @@ nlmon_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) | |||
86 | 86 | ||
87 | stats->rx_bytes = bytes; | 87 | stats->rx_bytes = bytes; |
88 | stats->tx_bytes = 0; | 88 | stats->tx_bytes = 0; |
89 | |||
90 | return stats; | ||
91 | } | 89 | } |
92 | 90 | ||
93 | static u32 always_on(struct net_device *dev) | 91 | static u32 always_on(struct net_device *dev) |