diff options
| author | Li RongQing <[email protected]> | 2018-09-14 08:00:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-09-14 15:32:23 +0000 |
| commit | 52bb6677d530d37055092d86b4eab69dce6c166a (patch) | |
| tree | 9701036db4955aa531c835ca07e186aaf3662601 /drivers/net/loopback.c | |
| parent | net/ibm/emac: Remove VLA usage (diff) | |
| download | kernel-52bb6677d530d37055092d86b4eab69dce6c166a.tar.gz kernel-52bb6677d530d37055092d86b4eab69dce6c166a.zip | |
net: move definition of pcpu_lstats to header file
pcpu_lstats is defined in several files, so unify them as one
and move to header file
Signed-off-by: Zhang Yu <[email protected]>
Signed-off-by: Li RongQing <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/loopback.c')
| -rw-r--r-- | drivers/net/loopback.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 30612497643c..a7207fa7e451 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c @@ -59,12 +59,6 @@ #include <net/net_namespace.h> #include <linux/u64_stats_sync.h> -struct pcpu_lstats { - u64 packets; - u64 bytes; - struct u64_stats_sync syncp; -}; - /* The higher levels take care of making this non-reentrant (it's * called with bh's disabled). */ |
