Change in osmo-bts[master]: osmo-bts-trx/scheduler: make mark trx_sched_fn() return void

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Thu Jun 25 15:12:15 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/19010 )


Change subject: osmo-bts-trx/scheduler: make mark trx_sched_fn() return void
......................................................................

osmo-bts-trx/scheduler: make mark trx_sched_fn() return void

This function never returns anything else than 0.

Change-Id: I119535fc09d611ef9f903f5d44aa21cecdce19a2
---
M src/osmo-bts-trx/scheduler_trx.c
1 file changed, 1 insertion(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/10/19010/1

diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 47cc4b5..6122ad0 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -56,7 +56,7 @@
 }
 
 /* schedule all frames of all TRX for given FN */
-static int trx_sched_fn(struct gsm_bts *bts, const uint32_t fn)
+static void trx_sched_fn(struct gsm_bts *bts, const uint32_t fn)
 {
 	struct trx_dl_burst_req br;
 	struct gsm_bts_trx *trx;
@@ -102,8 +102,6 @@
 			trx_if_send_burst(l1h, &br);
 		}
 	}
-
-	return 0;
 }
 
 /*! maximum number of 'missed' frame periods we can tolerate of OS doesn't schedule us*/

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/19010
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I119535fc09d611ef9f903f5d44aa21cecdce19a2
Gerrit-Change-Number: 19010
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200625/07457d1c/attachment.htm>


More information about the gerrit-log mailing list