summaryrefslogtreecommitdiffstats
path: root/src/peer.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-05-27 04:08:25 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-05-27 04:08:25 +0200
commit348f3844ecc41447336213c48234507d5276c4bf (patch)
tree2712ed67d8b07876db7c0b75a1835c60e358e4f2 /src/peer.c
parent6a249659bf167aa8e7f72917e9c9f23ba9477e1c (diff)
downloadfastd-348f3844ecc41447336213c48234507d5276c4bf.tar
fastd-348f3844ecc41447336213c48234507d5276c4bf.zip
peer: remove some dead code
Diffstat (limited to 'src/peer.c')
-rw-r--r--src/peer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/peer.c b/src/peer.c
index 5837ca5..7a3029d 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -766,14 +766,6 @@ void fastd_peer_handle_handshake_queue(void) {
fastd_resolve_peer(peer, next_remote);
}
-void fastd_peer_enable_temporary(fastd_peer_t *peer) {
- if (peer->config)
- exit_bug("trying to re-enable non-temporary peer");
-
- VECTOR_ADD(ctx.peers, peer);
- fastd_poll_add_peer();
-}
-
void fastd_peer_set_established(fastd_peer_t *peer) {
if (fastd_peer_is_established(peer))
return;