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

2017-11-21 Thread Max
Max has submitted this change and it was merged.

Change subject: Remove unused parameter
..


Remove unused parameter

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

Approvals:
  Jenkins Builder: Verified
  Holger Freyther: Looks good to me, approved



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 = >trx[trx_no];
 
if (!dl_slots || !ul_slots) {
-   rc = find_multi_slots(bts, trx, ms, _slots, _slots);
+   rc = find_multi_slots(trx, ms, _slots, _slots);
if (rc < 0)
return rc;
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifd6e04a29e27b1862cf9e98dec7481d3e0efcd48
Gerrit-PatchSet: 2
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Holger Freyther 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max 


osmo-pcu[master]: Remove unused parameter

2017-11-21 Thread Holger Freyther

Patch Set 1: Code-Review+2

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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifd6e04a29e27b1862cf9e98dec7481d3e0efcd48
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Holger Freyther 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


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

2017-11-01 Thread Max

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 = >trx[trx_no];
 
if (!dl_slots || !ul_slots) {
-   rc = find_multi_slots(bts, trx, ms, _slots, _slots);
+   rc = find_multi_slots(trx, ms, _slots, _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