diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2019-03-15 12:08:05 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-03-27 11:10:57 +0000 |
commit | a5a03d6b355437df1d7c5213236b0096b12640af (patch) | |
tree | 1b8c6e87436519ff772cc3c5441cc6aee78d6e06 /src/common/oml.c | |
parent | 891ba1568ad595c92bd885d417e34a78272f664f (diff) |
oml: use oml_tx_failure_event_rep() instead of oml_fail_rep()
The function oml_tx_failure_event_rep() replaces oml_fail_rep(), so lets
use only oml_tx_failure_event_rep() and remove oml_fail_rep()
Change-Id: I83c4fa9ebd519299fd54b37b5d95d6d7c1da24f6
Related: OS#3843
Diffstat (limited to 'src/common/oml.c')
-rw-r--r-- | src/common/oml.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/common/oml.c b/src/common/oml.c index ac388d1b..7ff5967f 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -87,21 +87,6 @@ int oml_tx_failure_event_rep(const struct gsm_abis_mo *mo, uint16_t cause_value, return oml_mo_send_msg(mo, nmsg, NM_MT_FAILURE_EVENT_REP); } -void oml_fail_rep(uint16_t cause_value, const char *fmt, ...) -{ - va_list ap; - char *rep; - - va_start(ap, fmt); - rep = talloc_asprintf(tall_bts_ctx, fmt, ap); - va_end(ap); - - osmo_signal_dispatch(SS_FAIL, cause_value, rep); - /* signal dispatch is synchronous so all the signal handlers are - finished already: we're free to free */ - talloc_free(rep); -} - /* Push OM header in front of msgb and send it */ int oml_send_msg(struct msgb *msg, int is_manuf) { |