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
Mon Dec 24 22:09:20 UTC 2018


Vadim Yanitskiy has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/32/12432/1

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: newchange
Gerrit-Change-Id: Ie3040c75bb61094b9b601aef9d699db603d292f4
Gerrit-Change-Number: 12432
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181224/a88d8a6e/attachment.htm>


More information about the gerrit-log mailing list