diff options
Diffstat (limited to 'net/8021q/vlanproc.c')
-rw-r--r-- | net/8021q/vlanproc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/8021q/vlanproc.c b/net/8021q/vlanproc.c index 80e280f56686..d1314cf18adf 100644 --- a/net/8021q/vlanproc.c +++ b/net/8021q/vlanproc.c | |||
@@ -280,7 +280,6 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset) | |||
280 | const struct vlan_dev_info *dev_info = vlan_dev_info(vlandev); | 280 | const struct vlan_dev_info *dev_info = vlan_dev_info(vlandev); |
281 | struct rtnl_link_stats64 temp; | 281 | struct rtnl_link_stats64 temp; |
282 | const struct rtnl_link_stats64 *stats; | 282 | const struct rtnl_link_stats64 *stats; |
283 | static const char fmt[] = "%30s %12lu\n"; | ||
284 | static const char fmt64[] = "%30s %12llu\n"; | 283 | static const char fmt64[] = "%30s %12llu\n"; |
285 | int i; | 284 | int i; |
286 | 285 | ||
@@ -299,10 +298,6 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset) | |||
299 | seq_puts(seq, "\n"); | 298 | seq_puts(seq, "\n"); |
300 | seq_printf(seq, fmt64, "total frames transmitted", stats->tx_packets); | 299 | seq_printf(seq, fmt64, "total frames transmitted", stats->tx_packets); |
301 | seq_printf(seq, fmt64, "total bytes transmitted", stats->tx_bytes); | 300 | seq_printf(seq, fmt64, "total bytes transmitted", stats->tx_bytes); |
302 | seq_printf(seq, fmt, "total headroom inc", | ||
303 | dev_info->cnt_inc_headroom_on_tx); | ||
304 | seq_printf(seq, fmt, "total encap on xmit", | ||
305 | dev_info->cnt_encap_on_xmit); | ||
306 | seq_printf(seq, "Device: %s", dev_info->real_dev->name); | 301 | seq_printf(seq, "Device: %s", dev_info->real_dev->name); |
307 | /* now show all PRIORITY mappings relating to this VLAN */ | 302 | /* now show all PRIORITY mappings relating to this VLAN */ |
308 | seq_printf(seq, "\nINGRESS priority mappings: " | 303 | seq_printf(seq, "\nINGRESS priority mappings: " |