| 76 | } |
| 77 | |
| 78 | static void destroy_peer(struct peer *peer) |
| 79 | { |
| 80 | peer_node_id_map_del(peer->ld->peers, peer); |
| 81 | if (peer->dbid) |
| 82 | peer_dbid_map_del(peer->ld->peers_by_dbid, peer); |
| 83 | } |
| 84 | |
| 85 | void peer_set_dbid(struct peer *peer, u64 dbid) |
| 86 | { |
nothing calls this directly
no outgoing calls
no test coverage detected