aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-11-07 12:47:59 +0100
committerdexter <pmaier@sysmocom.de>2017-11-20 09:21:16 +0000
commit7e0c269e5ce861b35cef02048579d107973d3204 (patch)
tree9b3a74ee524a253a868b8c5751785cbcca676e25 /include/osmocom/bsc
parent17b773acd1c0c0ddf53180efb1f67ef7de4b7ffe (diff)
reset: remove name variable from reset context
The reset context contains a string buffer to allow for setting a human readable name, that is then displayed in the logs. Since OSMO-FSMs already have such a feature there is no need for an extra name variable. Use LOGPFSML and the name parameter of osmo_fsm_inst_alloc() to display the name of the FSM Fixes: Coverity CID#178664 Change-Id: I34511698923abec7545a6f3defd595f97b4bbeb1
Diffstat (limited to 'include/osmocom/bsc')
-rw-r--r--include/osmocom/bsc/a_reset.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/osmocom/bsc/a_reset.h b/include/osmocom/bsc/a_reset.h
index 7aaab0620..c01a8b047 100644
--- a/include/osmocom/bsc/a_reset.h
+++ b/include/osmocom/bsc/a_reset.h
@@ -33,9 +33,6 @@ struct a_reset_ctx {
* will be triggered */
int conn_loss_counter;
- /* A human readable name to display in the logs */
- char name[256];
-
/* Callback function to be called when a connection
* failure is detected and a rest must occur */
void (*cb)(void *priv);