diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-09-23 11:50:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-09-23 11:50:57 -0400 |
commit | e0f6047ea0940ef239a60aac0ee3781bdcc108a9 (patch) | |
tree | 0334c213271e5493cba99a3a0060649233d5612a /src | |
parent | 3196de33a567bb3126652ffbadf8c7d31eff4887 (diff) | |
download | tor-e0f6047ea0940ef239a60aac0ee3781bdcc108a9.tar.gz tor-e0f6047ea0940ef239a60aac0ee3781bdcc108a9.zip |
Remove needless sort operation.
Diffstat (limited to 'src')
-rw-r--r-- | src/feature/dirauth/dirvote.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index a27dde6f56..653af28033 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -4372,8 +4372,6 @@ get_all_possible_sybil(const smartlist_t *routers) smartlist_add(routers_ipv4, ri); } }); - routers_sort_by_identity(routers_ipv4); - routers_sort_by_identity(routers_ipv6); omit_as_sybil_ipv4 = get_sybil_list_by_ip_version(routers_ipv4, AF_INET); omit_as_sybil_ipv6 = get_sybil_list_by_ip_version(routers_ipv6, AF_INET6); |