gbproxy: Move helper function to a more logical place

Change-Id: I3b39991fe2441334aaa9dda6c33c0b7b4484e455
diff --git a/src/gb_proxy_peer.c b/src/gb_proxy_peer.c
index 7e94331..7d6ba86 100644
--- a/src/gb_proxy_peer.c
+++ b/src/gb_proxy_peer.c
@@ -194,17 +194,6 @@
 	return NULL;
 }
 
-static inline struct gbproxy_tlli_cache_entry *_get_tlli_entry(struct gbproxy_config *cfg, uint32_t tlli)
-{
-	struct gbproxy_tlli_cache_entry *cache_entry;
-
-	hash_for_each_possible(cfg->tlli_cache.entries, cache_entry, list, tlli) {
-		if (cache_entry->tlli == tlli)
-			return cache_entry;
-	}
-	return NULL;
-}
-
 struct gbproxy_cell *gbproxy_cell_by_bvci_or_new(struct gbproxy_config *cfg, uint16_t bvci)
 {
 	struct gbproxy_cell *cell;
@@ -263,6 +252,17 @@
  * TLLI cache
  ***********************************************************************/
 
+static inline struct gbproxy_tlli_cache_entry *_get_tlli_entry(struct gbproxy_config *cfg, uint32_t tlli)
+{
+	struct gbproxy_tlli_cache_entry *cache_entry;
+
+	hash_for_each_possible(cfg->tlli_cache.entries, cache_entry, list, tlli) {
+		if (cache_entry->tlli == tlli)
+			return cache_entry;
+	}
+	return NULL;
+}
+
 void gbproxy_tlli_cache_update(struct gbproxy_nse *nse, uint32_t tlli)
 {
 	struct gbproxy_config *cfg = nse->cfg;