From: shihanzhang Date: Wed, 30 Dec 2015 07:55:35 +0000 (+0800) Subject: Remove unused variable use_call in ovs-agent X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=cb3c6fe8a93265f1f992ff4d508d2b55f186122c;p=openstack-build%2Fneutron-build.git Remove unused variable use_call in ovs-agent 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 --- diff --git a/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py b/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py index 6e8859730..3cb2247b4 100644 --- a/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py +++ b/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py @@ -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!"))