[PATCH 1/3] gtphub: lose obsolete comment.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Tue Nov 17 13:38:45 UTC 2015


The del_cb is now also used for ares (GGSN resolution) timeouts, and expiry is
anyway separated from nr_map, so this comment is void.

Sponsored-by: On-Waves ehi
---
 openbsc/include/openbsc/gtphub.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/openbsc/include/openbsc/gtphub.h b/openbsc/include/openbsc/gtphub.h
index 49d685c..68cf90e 100644
--- a/openbsc/include/openbsc/gtphub.h
+++ b/openbsc/include/openbsc/gtphub.h
@@ -248,8 +248,6 @@ int expiry_tick(struct expiry *exq, time_t now);
  * Mapping allocation and a del_cb are provided by the caller. If del_cb is
  * NULL, no deallocation will be done (allowing statically allocated entries).
  */
-/* TODO at some point I thought the allocation & del_cb complexity was
- * needed/helpful, but by now it seems like overkill. Maybe lose that again. */
 
 typedef int nr_t;
 
-- 
2.1.4




More information about the OpenBSC mailing list