Removes an unnecessary intermediary variable and an
unnecessary list extend operation that implied previous
list members where there weren't any. There should be no
functional change. This just improves readability slightly.
Change-Id: Ice412c29be083d82e055cc0bc45ed8b97c7628d0
mech_context = driver_context.PortContext(self, context, port,
network, binding)
if is_dvr_enabled and utils.is_dvr_serviced(device_owner):
- router_info = l3plugin.dvr_deletens_if_no_port(context, id)
- removed_routers += router_info
+ removed_routers = l3plugin.dvr_deletens_if_no_port(
+ context, id)
self.mechanism_manager.delete_port_precommit(mech_context)
self._delete_port_security_group_bindings(context, id)
if l3plugin: