]> git.proxmox.com Git - pve-network.git/commit
remove more variable declarations with post-ifs
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 1 Jul 2020 08:16:38 +0000 (10:16 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 1 Jul 2020 08:16:38 +0000 (10:16 +0200)
commitc559eac1c3b839cfe99b7ec680481e7cb53da445
treea894329173b1f202a9495d9401c954f35ddd986d
parent3caa7687f93302c43dfeca5d9efba29f3ac9c76b
remove more variable declarations with post-ifs

usage of $mtu is always guarded by an if itself anyway, so all of these
are redundant post-ifs and can be removed.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/Network/SDN/Zones/QinQPlugin.pm
PVE/Network/SDN/Zones/VlanPlugin.pm