]> git.baikalelectronics.ru Git - kernel.git/commit
net: dummy: use standard dev_lstats_add() and dev_lstats_read()
authorEric Dumazet <edumazet@google.com>
Fri, 8 Nov 2019 00:27:19 +0000 (16:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Nov 2019 04:03:08 +0000 (20:03 -0800)
commit12b7d16ef9ab54e3ccc34dc6881f656230012d9c
tree82b5f0fedc8d5d2dc121bb8d4703226efcede407
parent78e67d41e2c786a833060c097e6fead8f72c0281
net: dummy: use standard dev_lstats_add() and dev_lstats_read()

This driver can simply use the common infrastructure instead
of duplicating it.

This cleanup will ease u64_stats_t adoption in a single location.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dummy.c