fixeria submitted this change.
encoding: comment out unused functions
Change-Id: I5e74e1d5294aa728f455fdf092e6fcbec2c1bd92
---
M src/encoding.cpp
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/encoding.cpp b/src/encoding.cpp
index 5695666..75b9a30 100644
--- a/src/encoding.cpp
+++ b/src/encoding.cpp
@@ -127,6 +127,7 @@
return 0;
}
+#if 0
static inline bool write_tai(bitvec *dest, unsigned& wp, int8_t tai)
{
if (tai < 0) { /* No TIMING_ADVANCE_INDEX: */
@@ -149,6 +150,7 @@
bitvec_write_field(dest, &wp, ta, 6);
}
}
+#endif
/* 3GPP TS 44.060 Table 12.5.2.1 */
static inline uint16_t enc_ws(uint16_t ws)
@@ -156,6 +158,7 @@
return (ws - 64) / 32;
}
+#if 0
static inline void write_ws(bitvec *dest, unsigned int *write_index, uint16_t ws)
{
dest->cur_bit = *write_index;
@@ -178,6 +181,7 @@
if (write_tai(dest, wp, tai)) /* TIMING_ADVANCE_TIMESLOT_NUMBER: */
bitvec_write_field(dest, &wp, ts, 3);
}
+#endif
static int write_ia_rest_downlink(const gprs_rlcmac_dl_tbf *tbf, bitvec * dest, bool polling, bool ta_valid,
uint16_t rfn, uint8_t alpha, uint8_t gamma, int8_t ta_idx)
To view, visit change 39696. To unsubscribe, or for help writing mail filters, visit settings.