From: Pravin B Shelar Date: Tue, 29 Apr 2014 23:27:50 +0000 (-0700) Subject: datapath: Remove unnecessary flow variable. X-Git-Tag: sliver-openvswitch-2.2.90-1~3^2~28 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=f0a6bdc9f56a95157ca6ee3c1f763aed0e0dae08 datapath: Remove unnecessary flow variable. 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 Signed-off-by: Pravin B Shelar Acked-by: Jesse Gross --- diff --git a/datapath/flow_table.c b/datapath/flow_table.c index c8bd9d1ed..58a25c7b6 100644 --- a/datapath/flow_table.c +++ b/datapath/flow_table.c @@ -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) {