tbf_dl: Setup m_llc_timer in constructor using osmocom API

Change-Id: I3e761b319326e33ab1d56c4fb30cafe3b0f96c29
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index fdd9ba3..23887d1 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -87,6 +87,7 @@
 	m_dl_egprs_ctrs(NULL)
 {
 	memset(&m_llc_timer, 0, sizeof(m_llc_timer));
+	osmo_timer_setup(&m_llc_timer, llc_timer_cb, this);
 }
 
 void gprs_rlcmac_dl_tbf::cleanup()
@@ -98,11 +99,6 @@
 {
 	if (bts_data()->llc_idle_ack_csec > 0) {
 		struct timeval tv;
-
-		/* TODO: this ought to be within a constructor */
-		m_llc_timer.data = this;
-		m_llc_timer.cb = &llc_timer_cb;
-
 		csecs_to_timeval(bts_data()->llc_idle_ack_csec, &tv);
 		osmo_timer_schedule(&m_llc_timer, tv.tv_sec, tv.tv_usec);
 	}