Change in osmocom-bb[master]: layer23/sap_interface.c: drop unused osmosap_sapsocket()

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/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Wed Dec 26 20:52:21 UTC 2018


Vadim Yanitskiy has submitted this change and it was merged. ( https://gerrit.osmocom.org/12432 )

Change subject: layer23/sap_interface.c: drop unused osmosap_sapsocket()
......................................................................

layer23/sap_interface.c: drop unused osmosap_sapsocket()

Change-Id: Ie3040c75bb61094b9b601aef9d699db603d292f4
---
M src/host/layer23/include/osmocom/bb/common/sap_interface.h
M src/host/layer23/src/common/sap_interface.c
2 files changed, 0 insertions(+), 10 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/host/layer23/include/osmocom/bb/common/sap_interface.h b/src/host/layer23/include/osmocom/bb/common/sap_interface.h
index 67e859b..e2aad3f 100644
--- a/src/host/layer23/include/osmocom/bb/common/sap_interface.h
+++ b/src/host/layer23/include/osmocom/bb/common/sap_interface.h
@@ -6,7 +6,6 @@
 int sap_close(struct osmocom_ms *ms);
 int osmosap_send_apdu(struct osmocom_ms *ms, uint8_t *data, uint16_t length);
 int osmosap_register_handler(struct osmocom_ms *ms, osmosap_cb_t cb);
-int osmosap_sapsocket(struct osmocom_ms *ms, const char *path);
 int osmosap_init(struct osmocom_ms *ms);
 
 enum osmosap_state {
diff --git a/src/host/layer23/src/common/sap_interface.c b/src/host/layer23/src/common/sap_interface.c
index 23b482a..b436c75 100644
--- a/src/host/layer23/src/common/sap_interface.c
+++ b/src/host/layer23/src/common/sap_interface.c
@@ -554,15 +554,6 @@
 	return 0;
 }
 
-int osmosap_sapsocket(struct osmocom_ms *ms, const char *path)
-{
-	struct gsm_settings *set = &ms->settings;
-	memset(set->sap_socket_path, 0, sizeof(set->sap_socket_path));
-	osmo_strlcpy(set->sap_socket_path, path, sizeof(set->sap_socket_path) - 1);
-
-	return 0;
-}
-
 /* init */
 int osmosap_init(struct osmocom_ms *ms)
 {

-- 
To view, visit https://gerrit.osmocom.org/12432
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie3040c75bb61094b9b601aef9d699db603d292f4
Gerrit-Change-Number: 12432
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Kévin Redon <kredon at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181226/7d048574/attachment.htm>


More information about the gerrit-log mailing list