From 7064e587dbea0db0e0de25afc4a68d6a05ccc67c Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Wed, 14 Jun 2017 10:10:05 +0100 Subject: [PATCH] Remove unreachable code in OVS mech driver Removed an unreachable section of code in OpenvswitchMechanismDriver. Trivial-Fix Change-Id: I756594d4d2cc6a63e2ecfdf713f18bebdffeb4d2 --- .../ml2/drivers/openvswitch/mech_driver/mech_openvswitch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/neutron/plugins/ml2/drivers/openvswitch/mech_driver/mech_openvswitch.py b/neutron/plugins/ml2/drivers/openvswitch/mech_driver/mech_openvswitch.py index 498be0e9e8f..30ef4c8e882 100644 --- a/neutron/plugins/ml2/drivers/openvswitch/mech_driver/mech_openvswitch.py +++ b/neutron/plugins/ml2/drivers/openvswitch/mech_driver/mech_openvswitch.py @@ -126,7 +126,6 @@ class OpenvswitchMechanismDriver(mech_agent.SimpleAgentMechanismDriverBase): portbindings.VHOST_USER_OVS_PLUG: True, portbindings.VHOST_USER_SOCKET: sock_path } - return self.vif_details @staticmethod def agent_vhu_sockpath(agent, port_id):