From: David S. Miller Date: Mon, 15 Nov 2010 18:37:30 +0000 (-0800) Subject: vlan: Fix build warning in vlandev_seq_show() X-Git-Tag: v2.6.38-rc1~476^2~579 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1f2d8c2cc61d2b9472efe44e8a2b098336914b4;p=platform%2Fkernel%2Flinux-3.10.git vlan: Fix build warning in vlandev_seq_show() 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 --- 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;