From: YAMAMOTO Takashi Date: Fri, 14 Aug 2015 10:19:31 +0000 (+0900) Subject: ml2: Remove a redundant assignment in _bind_port_level X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=0006275fe7b9a5b0e5a2ffaa024a77097c673939;p=openstack-build%2Fneutron-build.git ml2: Remove a redundant assignment in _bind_port_level Don't mark binding FAILED here, as the caller does the same. Change-Id: I95d9a64965d0ca9bf8a870f05c73fa11cf189f8f --- diff --git a/neutron/plugins/ml2/managers.py b/neutron/plugins/ml2/managers.py index 4f678b226..d563e0cc0 100644 --- a/neutron/plugins/ml2/managers.py +++ b/neutron/plugins/ml2/managers.py @@ -698,7 +698,6 @@ class MechanismManager(stevedore.named.NamedExtensionManager): LOG.exception(_LE("Mechanism driver %s failed in " "bind_port"), driver.name) - binding.vif_type = portbindings.VIF_TYPE_BINDING_FAILED LOG.error(_LE("Failed to bind port %(port)s on host %(host)s"), {'port': context.current['id'], 'host': binding.host})