From 1d640889dfcf841738f1b279056c440d2e409a30 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 2 May 2017 21:42:46 +0200 Subject: 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 --- include/osmocom/core/sercomm.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/osmocom') 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 /* 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 -- cgit v1.2.3