[XS] Change in osmo-pcu[master]: encoding: comment out unused functions
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/39696?usp=email ) Change subject: encoding: comment out unused functions ...................................................................... encoding: comment out unused functions Change-Id: I5e74e1d5294aa728f455fdf092e6fcbec2c1bd92 --- M src/encoding.cpp 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved 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 https://gerrit.osmocom.org/c/osmo-pcu/+/39696?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Change-Id: I5e74e1d5294aa728f455fdf092e6fcbec2c1bd92 Gerrit-Change-Number: 39696 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
fixeria