Review at  https://gerrit.osmocom.org/6679

remove gsm48_encode_classmark1() which is now in libosmocore

libosmocore since I78f6968edaa3ed535673411fb2a80060a472290f has this
function, no need to have a local copy here.

Change-Id: I3f7c83ad0624839ce42864c70396a4397b21f514
---
M src/host/layer23/src/mobile/gsm48_mm.c
1 file changed, 0 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/79/6679/1

diff --git a/src/host/layer23/src/mobile/gsm48_mm.c 
b/src/host/layer23/src/mobile/gsm48_mm.c
index 4b1db1e..61a6a01 100644
--- a/src/host/layer23/src/mobile/gsm48_mm.c
+++ b/src/host/layer23/src/mobile/gsm48_mm.c
@@ -309,19 +309,6 @@
        return 0;
 }
 
-/* encode 'classmark 1' */
-int gsm48_encode_classmark1(struct gsm48_classmark1 *cm, uint8_t rev_lev,
-       uint8_t es_ind, uint8_t a5_1, uint8_t pwr_lev)
-{
-       memset(cm, 0, sizeof(*cm));
-       cm->rev_lev = rev_lev;
-       cm->es_ind = es_ind;
-       cm->a5_1 = !a5_1;
-       cm->pwr_lev = pwr_lev;
-
-       return 0;
-}
-
 /*
  * timers
  */

-- 
To view, visit https://gerrit.osmocom.org/6679
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f7c83ad0624839ce42864c70396a4397b21f514
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: fixeria/trx
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>

Reply via email to