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
This commit is contained in:
Pau Espin Pedrol
2025-03-04 18:21:43 +01:00
parent 521fe02d41
commit bb8591dfab
3 changed files with 0 additions and 14 deletions

View File

@@ -48,7 +48,6 @@ enum hlr_vty_node {
#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);

View File

@@ -754,7 +754,6 @@ static struct vty_app_info vty_info = {
.name = "OsmoHLR",
.version = PACKAGE_VERSION,
.copyright = vlr_copyright,
.is_config_node = hlr_vty_is_config_node,
.go_parent_cb = hlr_vty_go_parent,
};

View File

@@ -881,18 +881,6 @@ int hlr_vty_go_parent(struct vty *vty)
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 =