diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-23 23:31:31 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-02-23 23:31:31 -0500 |
commit | 5bfa373eeeb2d76879fe8b0ea130724176f54e81 (patch) | |
tree | f3485ceec073bb6ed01a5a167c48096116115d08 /src/or/networkstatus.c | |
parent | 365e302f6153a99fc79b7bad8fafa1d61e839e55 (diff) | |
download | tor-5bfa373eeeb2d76879fe8b0ea130724176f54e81.tar.gz tor-5bfa373eeeb2d76879fe8b0ea130724176f54e81.zip |
Remove some totally unused functions
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index c63c76fccd..8846cd0634 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1432,18 +1432,6 @@ consensus_is_waiting_for_certs(void) ? 1 : 0; } -/** Return the network status with a given identity digest. */ -networkstatus_v2_t * -networkstatus_v2_get_by_digest(const char *digest) -{ - SMARTLIST_FOREACH(networkstatus_v2_list, networkstatus_v2_t *, ns, - { - if (tor_memeq(ns->identity_digest, digest, DIGEST_LEN)) - return ns; - }); - return NULL; -} - /** Return the most recent consensus that we have downloaded, or NULL if we * don't have one. */ networkstatus_t * |