From cbcfe9918b975df559db96ff34b39e0b13fbbf66 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 23 Sep 2020 01:32:11 +0200 Subject: drop duplicate ran_peer_find() vs ran_peer_find_by_addr() This is the same function existing twice with different names. Keep only one. Change-Id: If54b54fa61ece0f95564d403e1439fc5f5ededdf --- include/osmocom/msc/ran_peer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/osmocom') diff --git a/include/osmocom/msc/ran_peer.h b/include/osmocom/msc/ran_peer.h index 06ab50090..bdca3177a 100644 --- a/include/osmocom/msc/ran_peer.h +++ b/include/osmocom/msc/ran_peer.h @@ -91,7 +91,7 @@ struct ran_peer_ev_ctx { }; struct ran_peer *ran_peer_find_or_create(struct sccp_ran_inst *sri, const struct osmo_sccp_addr *peer_addr); -struct ran_peer *ran_peer_find(struct sccp_ran_inst *sri, const struct osmo_sccp_addr *peer_addr); +struct ran_peer *ran_peer_find_by_addr(struct sccp_ran_inst *sri, const struct osmo_sccp_addr *peer_addr); void ran_peer_cells_seen_add(struct ran_peer *ran_peer, const struct gsm0808_cell_id *id); @@ -106,4 +106,3 @@ int ran_peer_down_paging(struct ran_peer *rp, const struct gsm0808_cell_id *page struct ran_peer *ran_peer_find_by_cell_id(struct sccp_ran_inst *sri, const struct gsm0808_cell_id *cid, bool expecting_single_match); -struct ran_peer *ran_peer_find_by_addr(struct sccp_ran_inst *sri, const struct osmo_sccp_addr *addr); -- cgit v1.2.3