]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove unused variable use_call in ovs-agent
authorshihanzhang <shihanzhang@huawei.com>
Wed, 30 Dec 2015 07:55:35 +0000 (15:55 +0800)
committershihanzhang <shihanzhang@huawei.com>
Wed, 30 Dec 2015 07:55:35 +0000 (15:55 +0800)
The patch Id28248f4f75821fbacf46e2c44e40f27f59172a9 makes agent
always reporting its state with RPC call() method, so the variable
self.use_call was unused, this patch removes it.

Change-Id: I2e15d9ea2f35dce710858db8c8c6efd8c8304a23

neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py

index 6e8859730de53924802376509fb01cd195c6058f..3cb2247b40936a8d2f9d06fad2fab7b5b3fd14c7 100644 (file)
@@ -318,7 +318,6 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
                 LOG.info(_LI('Agent has just been revived. '
                              'Doing a full sync.'))
                 self.fullsync = True
-            self.use_call = False
             self.agent_state.pop('start_flag', None)
         except Exception:
             LOG.exception(_LE("Failed reporting state!"))