diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-11-17 15:14:08 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-11-17 15:32:57 -0800 |
commit | 1ab91d1e9ea4e4f22386390b7c75a4d98c397602 (patch) | |
tree | 131a497cc865b35d053f74cd45a736f4536840ac /ofproto | |
parent | edb0540bbcc624675b8745f52e085ef15d0fa023 (diff) |
ofproto: Remove dead variable.
Fixes the following gcc warning:
"error: variable ‘flow_vid’ set but not used
[-Werror=unused-but-set-variable]"
Diffstat (limited to 'ofproto')
-rw-r--r-- | ofproto/ofproto-dpif.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 3e92493c..e220d96b 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -4617,14 +4617,12 @@ output_mirrors(struct action_xlate_ctx *ctx, { struct ofproto_dpif *ofproto = ctx->ofproto; mirror_mask_t mirrors; - uint16_t flow_vid; mirrors = in_bundle->src_mirrors | dst_mirrors; if (!mirrors) { return; } - flow_vid = vlan_tci_to_vid(ctx->flow.vlan_tci); while (mirrors) { struct ofmirror *m; |