summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-dummy.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-21 18:33:30 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-21 18:33:30 +0200
commitd553b380d59961093f777ce55f7e98cc8bd1844b (patch)
treef63836e5a7c9b950a5f0aca0cfeb084a91f933c1 /src/conf_mode/interface-dummy.py
parent63cdf781f4604ed38591d0be71fa92ae3667da73 (diff)
downloadvyos-1x-d553b380d59961093f777ce55f7e98cc8bd1844b.tar.gz
vyos-1x-d553b380d59961093f777ce55f7e98cc8bd1844b.zip
dummy: T1580: remove superfluous if statements
Diffstat (limited to 'src/conf_mode/interface-dummy.py')
-rwxr-xr-xsrc/conf_mode/interface-dummy.py9
1 files changed, 0 insertions, 9 deletions
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'])