projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
900fcf0
)
vlan: Fix build warning in vlandev_seq_show()
author
David S. Miller
<davem@davemloft.net>
Mon, 15 Nov 2010 18:37:30 +0000
(10:37 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 15 Nov 2010 18:37:30 +0000
(10:37 -0800)
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
patch
|
blob
|
blame
|
history
diff --git
a/net/8021q/vlanproc.c
b/net/8021q/vlanproc.c
index 8a64db19b8a5e44701a7dcf13cd1fc818853b337..d1314cf18adf53dfeaf81e1f97ff7e853ca42b93 100644
(file)
--- 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;