aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-22 20:42:33 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-22 20:42:33 +0200
commitac26607fe4644e0794b4637048bd58e4c978260c (patch)
tree4e9d09f2c0ddf7272d6cf91edfde2561e00f1948
parent9d8aeab0b6887f8384834bf912262be1906253c6 (diff)
common: Remove unused gsm_time parameter from lchan_sacch_get
-rw-r--r--include/osmo-bts/bts.h2
-rw-r--r--src/common/sysinfo.c2
-rw-r--r--src/osmo-bts-sysmo/l1_if.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index d27eef0..e489973 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -32,7 +32,7 @@ int bts_ccch_copy_msg(struct gsm_bts *bts, uint8_t *out_buf, struct gsm_time *gt
int is_ag_res);
uint8_t *bts_sysinfo_get(struct gsm_bts *bts, struct gsm_time *g_time);
-uint8_t *lchan_sacch_get(struct gsm_lchan *lchan, struct gsm_time *g_time);
+uint8_t *lchan_sacch_get(struct gsm_lchan *lchan);
int lchan_init_lapdm(struct gsm_lchan *lchan);
void load_timer_start(struct gsm_bts *bts);
diff --git a/src/common/sysinfo.c b/src/common/sysinfo.c
index 62d2af9..6a50afd 100644
--- a/src/common/sysinfo.c
+++ b/src/common/sysinfo.c
@@ -131,7 +131,7 @@ uint8_t *bts_sysinfo_get(struct gsm_bts *bts, struct gsm_time *g_time)
return NULL;
}
-uint8_t *lchan_sacch_get(struct gsm_lchan *lchan, struct gsm_time *g_time)
+uint8_t *lchan_sacch_get(struct gsm_lchan *lchan)
{
uint32_t tmp;
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index bef3d27..0edc514 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -483,7 +483,7 @@ static int handle_ph_readytosend_ind(struct femtol1_hdl *fl1,
rc = lapdm_phsap_dequeue_prim(le, &pp);
if (rc < 0) {
/* No SACCH data from LAPDM pending, send SACCH filling */
- uint8_t *si = lchan_sacch_get(lchan, &g_time);
+ uint8_t *si = lchan_sacch_get(lchan);
if (si) {
/* +2 to not overwrite the ms_power/ta values */
memcpy(msu_param->u8Buffer+2, si, GSM_MACBLOCK_LEN-2);