diff options
-rw-r--r-- | include/osmocom/core/sercomm.h | 2 | ||||
-rw-r--r-- | src/sercomm.c | 13 |
2 files changed, 0 insertions, 15 deletions
diff --git a/include/osmocom/core/sercomm.h b/include/osmocom/core/sercomm.h index 05833907..cc1a833b 100644 --- a/include/osmocom/core/sercomm.h +++ b/include/osmocom/core/sercomm.h @@ -61,8 +61,6 @@ struct osmo_sercomm_inst { #ifndef HOST_BUILD #include <uart.h> /* helper functions for target */ -void osmo_sercomm_bind_uart(struct osmo_sercomm_inst *sercomm, int uart); -int osmo_sercomm_get_uart(struct osmo_sercomm_inst *sercomm); void osmo_sercomm_change_speed(struct osmo_sercomm_inst *sercomm, enum uart_baudrate bdrt); #endif 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; |