Change in osmo-pcu[master]: rlc: Drop unused function gprs_rlc_data::put_data

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Mon May 18 12:24:31 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/18349 )


Change subject: rlc: Drop unused function gprs_rlc_data::put_data
......................................................................

rlc: Drop unused function gprs_rlc_data::put_data

Change-Id: I10eb93a1aa6ac1eac15c8e64da300caf2e6ccc44
---
M src/rlc.cpp
M src/rlc.h
2 files changed, 0 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/49/18349/1

diff --git a/src/rlc.cpp b/src/rlc.cpp
index c44d27e..6d084b1 100644
--- a/src/rlc.cpp
+++ b/src/rlc.cpp
@@ -44,12 +44,6 @@
 	return block;
 }
 
-void gprs_rlc_data::put_data(const uint8_t *data, size_t data_len)
-{
-	memcpy(block, data, data_len);
-	len = data_len;
-}
-
 void gprs_rlc_v_b::reset()
 {
 	for (size_t i = 0; i < ARRAY_SIZE(m_v_b); ++i)
diff --git a/src/rlc.h b/src/rlc.h
index 5b6a0dd..135060e 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -178,7 +178,6 @@
 
 struct gprs_rlc_data {
 	uint8_t *prepare(size_t block_data_length);
-	void put_data(const uint8_t *data, size_t len);
 
 	/* block data including LI headers */
 	uint8_t block[RLC_MAX_LEN];

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/18349
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I10eb93a1aa6ac1eac15c8e64da300caf2e6ccc44
Gerrit-Change-Number: 18349
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200518/57667d9a/attachment.htm>


More information about the gerrit-log mailing list