summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode')
-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]