From cb3c6fe8a93265f1f992ff4d508d2b55f186122c Mon Sep 17 00:00:00 2001 From: shihanzhang Date: Wed, 30 Dec 2015 15:55:35 +0800 Subject: [PATCH] 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 --- .../plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py | 1 - 1 file changed, 1 deletion(-) 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!")) -- 2.45.2