datapath: Remove unnecessary flow variable.
authorPravin B Shelar <pshelar@nicira.com>
Tue, 29 Apr 2014 23:27:50 +0000 (16:27 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 30 Apr 2014 19:42:45 +0000 (12:42 -0700)
Patch fixes following warning:
datapath/linux/flow_table.c:580:40: warning: symbol 'flow' shadows an earlier one
datapath/linux/flow_table.c:558:24: originally declared here

Reported-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/flow_table.c

index c8bd9d1..58a25c7 100644 (file)
@@ -577,7 +577,6 @@ struct sw_flow *ovs_flow_tbl_lookup_stats(struct flow_table *tbl,
 
                if (ce->skb_hash == skb_hash) {
                        struct sw_flow_mask *mask;
-                       struct sw_flow *flow;
 
                        mask = rcu_dereference_ovsl(ma->masks[ce->mask_index]);
                        if (mask) {