diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-08-27 12:24:09 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-08-27 12:24:09 +0200 |
commit | 343a48be36b1573286db8f944aa933911b09530b (patch) | |
tree | da73532d80470d2224e3aa7700fef8358a06fda0 | |
parent | cd9bb2963e9e7c30d3bbebce9d4ef170107533a9 (diff) | |
download | vyos-1x-343a48be36b1573286db8f944aa933911b09530b.tar.gz vyos-1x-343a48be36b1573286db8f944aa933911b09530b.zip |
bridge: T1556: remove unused function freeze()
-rwxr-xr-x | src/conf_mode/interface-bridge.py | 7 |
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] |