summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-27 12:24:09 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-27 12:24:09 +0200
commit343a48be36b1573286db8f944aa933911b09530b (patch)
treeda73532d80470d2224e3aa7700fef8358a06fda0 /src
parentcd9bb2963e9e7c30d3bbebce9d4ef170107533a9 (diff)
downloadvyos-1x-343a48be36b1573286db8f944aa933911b09530b.tar.gz
vyos-1x-343a48be36b1573286db8f944aa933911b09530b.zip
bridge: T1556: remove unused function freeze()
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interface-bridge.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/conf_mode/interface-bridge.py b/src/conf_mode/interface-bridge.py
index 85ea68e26..c1527e4a7 100755
--- a/src/conf_mode/interface-bridge.py
+++ b/src/conf_mode/interface-bridge.py
@@ -45,13 +45,6 @@ default_config_data = {
'stp': 0
}
-def freeze(d):
- if isinstance(d, dict):
- return frozenset((key, freeze(value)) for key, value in d.items())
- elif isinstance(d, list):
- return tuple(freeze(value) for value in d)
- return d
-
def diff(first, second):
second = set(second)
return [item for item in first if item not in second]