Change in osmocom-bb[master]: firmware: fix compilation with arm-none-eabi-gcc 10.1.0

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
Mon Jun 8 17:13:21 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/18727 )


Change subject: firmware: fix compilation with arm-none-eabi-gcc 10.1.0
......................................................................

firmware: fix compilation with arm-none-eabi-gcc 10.1.0

These symbols are defined, but never used:

  - struct last_rach - seems to be copy-pasted from prim_rach.c,
  - tall_msgb_ctx - already defined in libosmocore.

Change-Id: I6077c8e9b441f7848d1a4c25a8b5e1aed82f4b7d
---
M src/target/firmware/comm/msgb.c
M src/target/firmware/layer1/prim_freq.c
2 files changed, 0 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/27/18727/1

diff --git a/src/target/firmware/comm/msgb.c b/src/target/firmware/comm/msgb.c
index 3524ba5..08f5acb 100644
--- a/src/target/firmware/comm/msgb.c
+++ b/src/target/firmware/comm/msgb.c
@@ -32,8 +32,6 @@
 
 #define NO_TALLOC
 
-void *tall_msgb_ctx;
-
 #ifdef NO_TALLOC
 /* This is a poor mans static allocator for msgb objects */
 #define MSGB_DATA_SIZE	256+4
diff --git a/src/target/firmware/layer1/prim_freq.c b/src/target/firmware/layer1/prim_freq.c
index 01f39d4..d5b5df1 100644
--- a/src/target/firmware/layer1/prim_freq.c
+++ b/src/target/firmware/layer1/prim_freq.c
@@ -49,11 +49,6 @@
 
 #include <l1ctl_proto.h>
 
-struct {
-	uint32_t fn;
-	uint16_t band_arfcn;
-} last_rach;
-
 /* if the "starting time" is reached, use frequencies "after time" */
 static int l1s_freq_cmd(__unused uint8_t p1, __unused uint8_t p2, __unused uint16_t p3)
 {

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I6077c8e9b441f7848d1a4c25a8b5e1aed82f4b7d
Gerrit-Change-Number: 18727
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/20200608/69fe1947/attachment.htm>


More information about the gerrit-log mailing list