[PATCH] osmo-pcu[master]: Remove unused parameter

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/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Wed Nov 1 18:51:30 UTC 2017


Review at  https://gerrit.osmocom.org/4634

Remove unused parameter

Change-Id: Ifd6e04a29e27b1862cf9e98dec7481d3e0efcd48
---
M src/gprs_rlcmac_ts_alloc.cpp
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/34/4634/1

diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp
index 2b08cf6..dac9e63 100644
--- a/src/gprs_rlcmac_ts_alloc.cpp
+++ b/src/gprs_rlcmac_ts_alloc.cpp
@@ -489,8 +489,7 @@
 	return 0;
 }
 
-static int find_multi_slots(struct gprs_rlcmac_bts *bts,
-	struct gprs_rlcmac_trx *trx,
+static int find_multi_slots(struct gprs_rlcmac_trx *trx,
 	const GprsMs *ms, uint8_t *ul_slots, uint8_t *dl_slots)
 {
 	const struct gprs_ms_multislot_class *ms_class;
@@ -859,7 +858,7 @@
 		trx = &bts->trx[trx_no];
 
 	if (!dl_slots || !ul_slots) {
-		rc = find_multi_slots(bts, trx, ms, &ul_slots, &dl_slots);
+		rc = find_multi_slots(trx, ms, &ul_slots, &dl_slots);
 		if (rc < 0)
 			return rc;
 

-- 
To view, visit https://gerrit.osmocom.org/4634
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd6e04a29e27b1862cf9e98dec7481d3e0efcd48
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list