From: Mehdi Abaakouk Date: Wed, 29 Jan 2014 17:13:48 +0000 (+0100) Subject: Remove unused code X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d5b7556206da0deb7c62f2334924df8631f9cf97;p=openstack-build%2Fneutron-build.git Remove unused code RouterInfo.enable_snat doesn't exists as class attribut, this patch removes unused code Change-Id: I9141db2cec51769a6489aead2ab6d4d0962929de --- diff --git a/neutron/agent/l3_agent.py b/neutron/agent/l3_agent.py index cf69842ec..f78d55ce8 100644 --- a/neutron/agent/l3_agent.py +++ b/neutron/agent/l3_agent.py @@ -452,7 +452,6 @@ class L3NATAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback, manager.Manager): self.process_router_floating_ips(ri, ex_gw_port) ri.ex_gw_port = ex_gw_port - ri.enable_snat = ri.router.get('enable_snat') self.routes_updated(ri) ri.iptables_manager.defer_apply_off()