From: Michael Tremer Date: Thu, 10 Aug 2017 21:25:20 +0000 (+0200) Subject: Remove some unnecessary assertions X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b550a12914a9a18e6bab76ff0392f575909cbefb;p=people%2Fstevee%2Fnetwork.git Remove some unnecessary assertions Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.ports b/src/functions/functions.ports index 82f9cde2..bef76be8 100644 --- a/src/functions/functions.ports +++ b/src/functions/functions.ports @@ -139,10 +139,6 @@ port_is_attached() { local zone for zone in $(zones_get_all); do - - assert isset zone - assert zone_exists ${zone} - if list_match ${port} $(zone_get_ports ${zone}); then echo "${zone}" return ${EXIT_OK}