From d553b380d59961093f777ce55f7e98cc8bd1844b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 21 Aug 2019 18:33:30 +0200 Subject: dummy: T1580: remove superfluous if statements --- src/conf_mode/interface-dummy.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/interface-dummy.py b/src/conf_mode/interface-dummy.py index 668e4acc7..ff9d57c89 100755 --- a/src/conf_mode/interface-dummy.py +++ b/src/conf_mode/interface-dummy.py @@ -77,21 +77,12 @@ def get_config(): return dummy def verify(dummy): - if dummy is None: - return None - return None def generate(dummy): - if dummy is None: - return None - return None def apply(dummy): - if dummy is None: - return None - # Remove dummy interface if dummy['deleted']: VyIfconfig.remove_interface(dummy['intf']) -- cgit v1.2.3