diff options
author | Patrick McHardy <kaber@trash.net> | 2008-02-05 19:19:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-05 19:19:33 -0500 |
commit | 0ea9d70df8f8be741ee0525490370de06163d2de (patch) | |
tree | 6e5287dfe92165852c9b4b24e012e3cdf3fe52dd | |
parent | 21511abd0a248a3f225d3b611cfabb93124605a7 (diff) |
[NET_SCHED]: em_meta: fix compile warning
net/sched/em_meta.c: In function 'meta_int_vlan_tag':
net/sched/em_meta.c:179: warning: 'tag' may be used uninitialized in this function
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/sched/em_meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c index 9c2ec1992a2a..2a7e648fbcf4 100644 --- a/net/sched/em_meta.c +++ b/net/sched/em_meta.c | |||
@@ -176,7 +176,7 @@ META_COLLECTOR(var_dev) | |||
176 | 176 | ||
177 | META_COLLECTOR(int_vlan_tag) | 177 | META_COLLECTOR(int_vlan_tag) |
178 | { | 178 | { |
179 | unsigned short tag; | 179 | unsigned short uninitialized_var(tag); |
180 | if (vlan_get_tag(skb, &tag) < 0) | 180 | if (vlan_get_tag(skb, &tag) < 0) |
181 | *err = -1; | 181 | *err = -1; |
182 | else | 182 | else |