Patchwork vlan: Fix build warning in vlandev_seq_show()

login
register
mail settings
Submitter David Miller
Date Nov. 15, 2010, 6:38 p.m.
Message ID <20101115.103839.200362428.davem@davemloft.net>
Download mbox | patch
Permalink /patch/71265/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - Nov. 15, 2010, 6:38 p.m.
net/8021q/vlanproc.c: In function 'vlandev_seq_show':
net/8021q/vlanproc.c:283:20: warning: unused variable 'fmt'

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/8021q/vlanproc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/net/8021q/vlanproc.c b/net/8021q/vlanproc.c
index 8a64db1..d1314cf 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)
 	const struct vlan_dev_info *dev_info = vlan_dev_info(vlandev);
 	struct rtnl_link_stats64 temp;
 	const struct rtnl_link_stats64 *stats;
-	static const char fmt[] = "%30s %12lu\n";
 	static const char fmt64[] = "%30s %12llu\n";
 	int i;