diff --git a/src/vnm/VirtualNetwork.cc b/src/vnm/VirtualNetwork.cc index 7a5413dd80..35f1573943 100644 --- a/src/vnm/VirtualNetwork.cc +++ b/src/vnm/VirtualNetwork.cc @@ -150,8 +150,6 @@ int VirtualNetwork::parse_phydev_vlans(const Template* tmpl, const string& vn_ma bool check_vlan = false; bool check_outer = false; - vector other; - switch (VirtualNetwork::str_to_driver(vn_mad)) { case VirtualNetwork::DUMMY: @@ -202,23 +200,6 @@ int VirtualNetwork::parse_phydev_vlans(const Template* tmpl, const string& vn_ma return -1; } - /* - if ( check_other ) - { - vector::iterator it; - string value; - - for ( it = other.begin(); it != other.end() ; ++it) - { - if (!tmpl->get((*it).c_str(), value)) - { - estr = *it + " is mandatory for driver " + vn_mad; - return -1; - } - } - } - */ - return 0; }