laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-hlr/+/39687?usp=email )
Change subject: Drop use of deprecated vty is_config_node() cb
......................................................................
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: I0a77ff4c0a880230116a361651c78c77328db989
---
M include/osmocom/hlr/hlr_vty.h
M src/hlr.c
M src/hlr_vty.c
3 files changed, 0 insertions(+), 14 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/include/osmocom/hlr/hlr_vty.h b/include/osmocom/hlr/hlr_vty.h
index 8601590..10ea8b7 100644
--- a/include/osmocom/hlr/hlr_vty.h
+++ b/include/osmocom/hlr/hlr_vty.h
@@ -48,7 +48,6 @@
#define A38_COMP128_KEY_LEN 16
#define MILENAGE_KEY_LEN 16
-int hlr_vty_is_config_node(struct vty *vty, int node);
int hlr_vty_go_parent(struct vty *vty);
void hlr_vty_init(void *hlr_ctx);
void dgsm_vty_init(void);
diff --git a/src/hlr.c b/src/hlr.c
index a900e23..0cfa09a 100644
--- a/src/hlr.c
+++ b/src/hlr.c
@@ -754,7 +754,6 @@
.name = "OsmoHLR",
.version = PACKAGE_VERSION,
.copyright = vlr_copyright,
- .is_config_node = hlr_vty_is_config_node,
.go_parent_cb = hlr_vty_go_parent,
};
diff --git a/src/hlr_vty.c b/src/hlr_vty.c
index 4694c44..18861d2 100644
--- a/src/hlr_vty.c
+++ b/src/hlr_vty.c
@@ -881,18 +881,6 @@
return vty->node;
}
-int hlr_vty_is_config_node(struct vty *vty, int node)
-{
- switch (node) {
- /* add items that are not config */
- case CONFIG_NODE:
- return 0;
-
- default:
- return 1;
- }
-}
-
void hlr_vty_init(void *hlr_ctx)
{
cfg_reject_cause_cmd.string =
--
To view, visit
https://gerrit.osmocom.org/c/osmo-hlr/+/39687?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I0a77ff4c0a880230116a361651c78c77328db989
Gerrit-Change-Number: 39687
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>