falconia has uploaded this change for review.

View Change

trau_frame cosmetic: rm dead/invalid definitions

All 3 module-internal C preprocessor definitions removed here have
never been used, and it is not clear where or how they were ever
intended to be used. (The present trau_frame layer is concerned with
low-level de/encoding; high-level de/encoding of AMR frames happens in
the new AMR TRAU frame interworking facility.) Furthermore, one of
these never-used preprocessor definitions expands to invalid C code.
Remove the bogon.

Change-Id: Icd96220455888ec5e1d03402b750da6945aaf095
---
M src/trau/trau_frame.c
1 file changed, 0 insertions(+), 4 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/50/41750/1
diff --git a/src/trau/trau_frame.c b/src/trau/trau_frame.c
index d8541c5..c5f234f 100644
--- a/src/trau/trau_frame.c
+++ b/src/trau/trau_frame.c
@@ -1640,10 +1640,6 @@
}
}

-#define TRAU8_FT_AMR_NO_SPEECH_CMI 0x10 /* 1, 0, 0, 0, 0 */
-#define TRAU8_FT_AMR_NO_SPEECH_CMR 0x14 /* 1, 0, 1, 0, 0 */
-#define TRAU8_FT_AMR_475_515_590 0..7
-
static const uint8_t bit8_0[8] = { 0, };

/*!< check sync pattern for hr/data/oam */

To view, visit change 41750. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Icd96220455888ec5e1d03402b750da6945aaf095
Gerrit-Change-Number: 41750
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon@freecalypso.org>