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: Ief57c4ce98055e5063aafc53cb8330d3bd95d323
This commit is contained in:
Pau Espin Pedrol
2025-03-04 18:18:32 +01:00
committed by laforge
parent 4bcb2f72e4
commit 6cd61eed5c

View File

@@ -1124,17 +1124,6 @@ int ggsn_vty_init(void)
return 0;
}
static int ggsn_vty_is_config_node(struct vty *vty, int node)
{
switch (node) {
case GGSN_NODE:
case APN_NODE:
return 1;
default:
return 0;
}
}
static int ggsn_vty_go_parent(struct vty *vty)
{
switch (vty->node) {
@@ -1174,5 +1163,4 @@ struct vty_app_info g_vty_info = {
.version = PACKAGE_VERSION,
.copyright = ggsn_copyright,
.go_parent_cb = ggsn_vty_go_parent,
.is_config_node = ggsn_vty_is_config_node,
};