diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-11-07 12:47:59 +0100 |
---|---|---|
committer | dexter <pmaier@sysmocom.de> | 2017-11-20 09:21:16 +0000 |
commit | 7e0c269e5ce861b35cef02048579d107973d3204 (patch) | |
tree | 9b3a74ee524a253a868b8c5751785cbcca676e25 /include/osmocom/bsc/a_reset.h | |
parent | 17b773acd1c0c0ddf53180efb1f67ef7de4b7ffe (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/a_reset.h')
-rw-r--r-- | include/osmocom/bsc/a_reset.h | 3 |
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); |