summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-09-24 22:05:54 +0200
committerDonald Sharp <sharpd@nvidia.com>2024-09-24 22:05:54 +0200
commite54261e20d4e1370a41da77c4cb70ef9b339f3d2 (patch)
treec39511048cb25774c3e5d308b44fd212a1157ab0 /zebra
parentMerge pull request #16634 from nabahr/autorp (diff)
downloadfrr-e54261e20d4e1370a41da77c4cb70ef9b339f3d2.tar.xz
frr-e54261e20d4e1370a41da77c4cb70ef9b339f3d2.zip
lib, zebra: TABLE_NODE is not used
No-one is using this, remove Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_vty.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index 501e9d526..3bf20ff42 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -4151,12 +4151,6 @@ DEFUN (zebra_show_routing_tables_summary,
return CMD_SUCCESS;
}
-/* Table configuration write function. */
-static int config_write_table(struct vty *vty)
-{
- return 0;
-}
-
/* IPForwarding configuration write function. */
static int config_write_forwarding(struct vty *vty)
{
@@ -4333,14 +4327,6 @@ static struct cmd_node protocol_node = {
.prompt = "",
.config_write = config_write_protocol,
};
-/* table node for routing tables. */
-static int config_write_table(struct vty *vty);
-static struct cmd_node table_node = {
- .name = "table",
- .node = TABLE_NODE,
- .prompt = "",
- .config_write = config_write_table,
-};
static int config_write_forwarding(struct vty *vty);
static struct cmd_node forwarding_node = {
.name = "forwarding",
@@ -4353,7 +4339,6 @@ static struct cmd_node forwarding_node = {
void zebra_vty_init(void)
{
/* Install configuration write function. */
- install_node(&table_node);
install_node(&forwarding_node);
install_element(VIEW_NODE, &show_ip_forwarding_cmd);