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
This commit is contained in:
Vadim Yanitskiy 2020-06-09 00:07:44 +07:00
parent 3ca971eb2e
commit e7a5739ea0
2 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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)
{