summaryrefslogtreecommitdiffstats
path: root/src/sercomm.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-02 21:42:46 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-17 15:15:09 +0100
commit1d640889dfcf841738f1b279056c440d2e409a30 (patch)
tree0f5674dcea56ca5de327d6a5719a4ab4fc333f5a /src/sercomm.c
parent8a4eb837ab74bbbfa2a51dd6d1e8c4a03c15505a (diff)
sercomm: remove unrequired helper functions
osmo_sercomm_{bind,get}_uart() are not really needed anymore, as sercomm_inst is public and thus the user can access the uart_id member directly. Change-Id: I6d57709c3764036046202f16a26c9eb87426c8d1
Diffstat (limited to 'src/sercomm.c')
-rw-r--r--src/sercomm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/sercomm.c b/src/sercomm.c
index 75e79684..d33db911 100644
--- a/src/sercomm.c
+++ b/src/sercomm.c
@@ -73,19 +73,6 @@ enum rx_state {
RX_ST_ESCAPE,
};
-
-#ifndef HOST_BUILD
-void osmo_sercomm_bind_uart(struct osmo_sercomm_inst *sercomm, int uart)
-{
- sercomm->uart_id = uart;
-}
-
-int osmo_sercomm_get_uart(struct osmo_sercomm_inst *sercomm)
-{
- return sercomm->uart_id;
-}
-#endif
-
void osmo_sercomm_init(struct osmo_sercomm_inst *sercomm)
{
unsigned int i;