summaryrefslogtreecommitdiffstats
path: root/src/host
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-12-22 04:44:08 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-12-26 20:52:18 +0000
commitf01dc598a03fae597935efc4bbd89cad45ae58bb (patch)
treeb4929e0ab4bd430f09a72d5d87b4d13a6a5ab485 /src/host
parent28c56e582bb3176957bf372510988be6f99dbc19 (diff)
layer23/sap_interface.c: drop unused osmosap_sapsocket()
Diffstat (limited to 'src/host')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/sap_interface.h1
-rw-r--r--src/host/layer23/src/common/sap_interface.c9
2 files changed, 0 insertions, 10 deletions
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 67e859b2..e2aad3f2 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_open(struct osmocom_ms *ms, const char *socket_path);
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 23b482a9..b436c750 100644
--- a/src/host/layer23/src/common/sap_interface.c
+++ b/src/host/layer23/src/common/sap_interface.c
@@ -554,15 +554,6 @@ int osmosap_register_handler(struct osmocom_ms *ms, osmosap_cb_t cb)
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)
{