diff options
author | Li RongQing <lirongqing@baidu.com> | 2018-09-17 18:46:55 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-18 19:52:23 -0700 |
commit | 14d73416792afa84f6a7245ee474d2432069da56 (patch) | |
tree | 1877afb770e885a43eac11ad44816553dfcc70b6 /include/linux/netdevice.h | |
parent | b60b87fc2996240e298529a46e122ef62ef9c27f (diff) | |
download | op-kernel-dev-14d73416792afa84f6a7245ee474d2432069da56.zip op-kernel-dev-14d73416792afa84f6a7245ee474d2432069da56.tar.gz |
veth: rename pcpu_vstats as pcpu_lstats
struct pcpu_vstats and pcpu_lstats have same members and
usage, and pcpu_lstats is used in many files, so rename
pcpu_vstats as pcpu_lstats to reduce duplicate definition
Signed-off-by: Zhang Yu <zhangyu31@baidu.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index baed5d5..1cbbf77 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2000,7 +2000,6 @@ struct net_device { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; - struct pcpu_vstats __percpu *vstats; }; #if IS_ENABLED(CONFIG_GARP) |