summaryrefslogtreecommitdiffstats
path: root/src/target/firmware
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-06-09 00:07:44 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-06-09 00:08:04 +0700
commite7a5739ea02455a54109f1af12b24328fc380e3b (patch)
tree57e5bb2a308bb23b0730742472849fff9ec862e3 /src/target/firmware
parent3ca971eb2e7e770be6f4b5a086dd7bcbabfd41e5 (diff)
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
Diffstat (limited to 'src/target/firmware')
-rw-r--r--src/target/firmware/comm/msgb.c2
-rw-r--r--src/target/firmware/layer1/prim_freq.c5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/target/firmware/comm/msgb.c b/src/target/firmware/comm/msgb.c
index 3524ba58..08f5acbd 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 01f39d48..d5b5df15 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)
{