laforge submitted this change.

View Change

Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
Drop use of deprecated vty is_config_node() cb

This callback was drepecated and is not ever called since
libosmocore.git 70ce871532ab21955e0955d7e230eae65438f047 (release 1.3.0).

See also libosmocore.git d31de237582f6fe3315d61bb9a488d4cda92654e.

Change-Id: I1bbaa455c018ba9c0943ac3cf1ae5511ebb4b723
---
M CommonLibs/trx_vty.c
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/CommonLibs/trx_vty.c b/CommonLibs/trx_vty.c
index bd1b0ce..9647722 100644
--- a/CommonLibs/trx_vty.c
+++ b/CommonLibs/trx_vty.c
@@ -781,17 +781,6 @@
return CMD_SUCCESS;
}

-static int trx_vty_is_config_node(struct vty *vty, int node)
-{
- switch (node) {
- case TRX_NODE:
- case CHAN_NODE:
- return 1;
- default:
- return 0;
- }
-}
-
static int trx_vty_go_parent(struct vty *vty)
{
switch (vty->node) {
@@ -829,7 +818,6 @@
.version = PACKAGE_VERSION,
.copyright = trx_copyright,
.go_parent_cb = trx_vty_go_parent,
- .is_config_node = trx_vty_is_config_node,
};

struct trx_ctx *vty_trx_ctx_alloc(void *talloc_ctx)

To view, visit change 39678. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I1bbaa455c018ba9c0943ac3cf1ae5511ebb4b723
Gerrit-Change-Number: 39678
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>