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